↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

System Catalogs / System views

The view pg_user provides access to information about database users.

Reading PG 18current·documented in 24 of 24 versions, 7.4 to 20

Kind
System views
Columns in this snapshot
9
Definition source
English manual
Metadata snapshot
18.6

Columns 9

As listed in the PostgreSQL 18 manual.

ColumnTypeDescription / reference
usenamenameUser name
usesysidoidID of this user
usecreatedbboolUser can create databases
usesuperboolUser is a superuser
usereplboolUser can initiate streaming replication and put the system in and out of backup mode.
usebypassrlsboolUser bypasses every row-level security policy, see Section 5.9 for more information.
passwdtextNot the password (always reads as ********)
valuntiltimestamptzPassword expiry time (only used for password authentication)
useconfigtext[]Session defaults for run-time configuration variables
Column history across versions
Version history 9
  1. 18 → 19 reworded
  2. 16 → 17 reworded
  3. 13 → 14 reworded
  4. 11 → 12 changed
  5. 9.4 → 9.5 changed
  6. 9.1 → 9.2 reworded
  7. 9.0 → 9.1 changed
  8. 8.2 → 8.3 reworded
  9. 7.4 → 8.0 reworded

Definition snapshot: english-manuals:36ccf64f06ffdbea8f15724542e… · English manual source