RefLib

Reference library for AI

Back

postgresql_16:8.2.9 pg_auth_members

PostgreSQL 16 > Internals > System Catalogs > pg_auth_members

The catalog pg_auth_members shows the membership relations between roles. Any non-circular set of relationships is allowed.

Because user identities are cluster-wide, pg_auth_members is shared across all databases of a cluster: there is only one copy of pg_auth_members per cluster, not one per database.

| Column Type Description | | --- | | oid oid Row identifier | | roleid oid (references pg_authid (see postgresql_16:8.2.8).oid) ID of a role that has a member | | member oid (references pg_authid (see postgresql_16:8.2.8).oid) ID of a role that is a member of roleid | | grantor oid (references pg_authid (see postgresql_16:8.2.8).oid) ID of the role that granted this membership | | admin_option bool True if member can grant membership in roleid to others | | inherit_option bool True if the member automatically inherits the privileges of the granted role | | set_option bool True if the member can SET ROLE (see postgresql_16:7.1.174) to the granted role |

Back