select open change scope Open full search

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

SYSTEM CATALOGS / SYSTEM CATALOGS

pg_auth_members

Read PG 18 manual ↗

The catalog pg_auth_members shows the membership relations between roles.

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

Columns 7

ColumnTypeDescription / reference
oidoidRow identifier
roleidoidID of a role that has a member
pg_authid.oid
memberoidID of a role that is a member of roleid
pg_authid.oid
grantoroidID of the role that granted this membership
pg_authid.oid
admin_optionboolTrue if member can grant membership in roleid to others
inherit_optionboolTrue if the member automatically inherits the privileges of the granted role
set_optionboolTrue if the member can SET ROLE to the granted role
Column history across versions
Version history 1
  1. PG 15 → 16changed

Definition snapshot: english-manuals:7260dc1ee04298433a0fe4cd2b6… · English manual source