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.
Table 45-9. pg_auth_members Columns
|roleid||oid||pg_authid.oid||ID of a role that has a member|
|member||oid||pg_authid.oid||ID of a role that is a member of roleid|
|grantor||oid||pg_authid.oid||ID of the role that granted this membership|
|admin_option||bool||True if member can grant membership in roleid to others|
Please use this form to add your own comments regarding your experience with particular features of PostgreSQL, clarifications of the documentation, or hints for other users. Please note, this is not a support forum, and your IP address will be logged. If you have a question or need help, please see the faq, try a mailing list, or join us on IRC. Note that submissions containing URLs or other keywords commonly found in 'spam' comments may be silently discarded. Please contact the webmaster if you think this is happening to you in error.
Proceed to the comment form.