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).

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

Columns 12

ColumnTypeDescription / reference
oidoidRow identifier
rolnamenameRole name
rolsuperboolRole has superuser privileges
rolinheritboolRole automatically inherits privileges of roles it is a member of
rolcreateroleboolRole can create more roles
rolcreatedbboolRole can create databases
rolcanloginboolRole can log in. That is, this role can be given as the initial session authorization identifier.
rolreplicationboolRole is a replication role. A replication role can initiate replication connections and create and drop replication slots.
rolbypassrlsboolRole bypasses every row-level security policy, see Section 5.9 for more information.
rolconnlimitint4For 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 10
  1. PG 18 → 19changed
  2. PG 16 → 17changed
  3. PG 13 → 14changed
  4. PG 12 → 13changed
  5. PG 11 → 12changed
  6. PG 9.6 → 10changed
  7. PG 9.5 → 9.6changed
  8. PG 9.4 → 9.5changed
  9. PG 9.2 → 9.3changed
  10. PG 9.0 → 9.1changed

Definition snapshot: english-manuals:c7a68c8dae4cc0683ede9ab9f65… · English manual source