System Catalogs / System views
pg_user
Read the PG 18 manualThe 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.
| Column | Type | Description / reference |
|---|---|---|
usename | name | User name |
usesysid | oid | ID of this user |
usecreatedb | bool | User can create databases |
usesuper | bool | User is a superuser |
userepl | bool | User can initiate streaming replication and put the system in and out of backup mode. |
usebypassrls | bool | User bypasses every row-level security policy, see Section 5.9 for more information. |
passwd | text | Not the password (always reads as ********) |
valuntil | timestamptz | Password expiry time (only used for password authentication) |
useconfig | text[] | Session defaults for run-time configuration variables |
Column history across versions
Version history 9
Definition snapshot: english-manuals:36ccf64f06ffdbea8f15724542e… · English manual source