↑↓ select ↵ open ⌫ change scope Open full search

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

System Catalogs / System catalogs

The catalog pg_authid contains information about database authorization identifiers (roles).

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

Kind
System catalogs
Columns in this snapshot
12
Definition source
English manual
Metadata snapshot
18.6

Columns 12

As listed in the PostgreSQL 18 manual.

ColumnTypeDescription / reference
oidoidNOT NULLRow identifier
rolnamenameNOT NULLRole name
rolsuperboolNOT NULLRole has superuser privileges
rolinheritboolNOT NULLRole automatically inherits privileges of roles it is a member of
rolcreateroleboolNOT NULLRole can create more roles
rolcreatedbboolNOT NULLRole can create databases
rolcanloginboolNOT NULLRole can log in. That is, this role can be given as the initial session authorization identifier.
rolreplicationboolNOT NULLRole is a replication role. A replication role can initiate replication connections and create and drop replication slots.
rolbypassrlsboolNOT NULLRole bypasses every row-level security policy, see Section 5.9 for more information.
rolconnlimitint4NOT NULLFor roles that can log in, this sets maximum number of concurrent connections this role can make. -1 means no limit.
rolpasswordtextEncrypted password; null if none. The format depends on the form of encryption used.
rolvaliduntiltimestamptzPassword expiry time (only used for password authentication); null if no expiration
Column history across versions
Version history 14
  1. 18 → 19 reworded
  2. 16 → 17 reworded
  3. 13 → 14 reworded
  4. 12 → 13 reworded
  5. 11 → 12 changed
  6. 9.6 → 10 reworded
  7. 9.5 → 9.6 reworded
  8. 9.4 → 9.5 changed
  9. 9.0 → 9.1 changed
  10. 8.4 → 9.0 changed
  11. 8.3 → 8.4 reworded
  12. 8.2 → 8.3 reworded
  13. 8.1 → 8.2 reworded
  14. 8.0 → 8.1 added

Definition snapshot: english-manuals:94044086a436950d19e247c1dba… · English manual source