↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

支持中的版本: 当前版本 (18) / 17 / 16 / 15 / 14
开发中的版本: 19 / 20devel
已结束支持的版本: 13 / 12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4 / 8.3 / 8.2 / 8.1
历史版本。 PostgreSQL 9.1 已结束支持。 2016-10-27. 请参阅 当前版本手册.

45.9. pg_auth_members #

目录pg_auth_members展示了角色之间的成员关系。允许任何无环的关系集合。

由于用户标识符是集簇范围的,pg_auth_members在一个集簇的所有数据库之间共享:在一个集簇中只有一份pg_auth_members拷贝,而不是每个数据库一份。

表 45.9. pg_auth_members 列

NameTypeReferencesDescription
roleidoidpg_authid.oidID of a role that has a member
memberoidpg_authid.oidID of a role that is a member of roleid
grantoroidpg_authid.oidID of the role that granted this membership
admin_optionbool True if member can grant membership in roleid to others

报告文档问题

阅读 上游文档. 反馈更正前请先核对 当前版本手册.