↑↓ 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_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.

ColumnTypeDescription / reference
usenamenameUser name
pg_authid.rolname
usesysidoidID of this user
pg_authid.oid
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.
passwdtextEncrypted password; null if none. See pg_authid for details of how encrypted passwords are stored.
valuntiltimestamptzPassword expiry time (only used for password authentication)
useconfigtext[]Session defaults for run-time configuration variables
Column history across versions
Version history 12
  1. 18 → 19 reworded
  2. 16 → 17 reworded
  3. 13 → 14 reworded
  4. 12 → 13 reworded
  5. 11 → 12 changed
  6. 9.4 → 9.5 changed
  7. 9.1 → 9.2 reworded
  8. 9.0 → 9.1 changed
  9. 8.4 → 9.0 reworded
  10. 8.2 → 8.3 reworded
  11. 8.0 → 8.1 changed
  12. 7.4 → 8.0 reworded

Definition snapshot: english-manuals:111dc9ec381e33fc85e125a6f9b… · English manual source