System Catalogs / System views
pg_shadow
Read the PG 18 manualThe view pg_shadow exists for backwards compatibility: it emulates a catalog that existed in PostgreSQL before version 8.1.
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 pg_authid.rolname |
usesysid | oid | ID of this user pg_authid.oid |
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 | Encrypted password; null if none. See pg_authid for details of how encrypted passwords are stored. |
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 12
Definition snapshot: english-manuals:111dc9ec381e33fc85e125a6f9b… · English manual source