PostgreSQL pg_auth_members
目录pg_auth_members展示了角色之间的成员关系。允许任何无环的关系集合。
由于用户标识符是集簇范围的,pg_auth_members在一个集簇的所有数据库之间共享:在一个集簇中只有一份pg_auth_members拷贝,而不是每个数据库一份。
表 51.9. pg_auth_members Columns
|
列类型
描述
|
|
roleid oid
(references pg_authid.oid)
拥有成员的角色的ID
|
|
member oid
(references pg_authid.oid)
roleid的成员角色的ID
|
|
grantor oid
(references pg_authid.oid)
授权此成员关系的角色的ID
|
|
admin_option bool
如果member能把roleid的成员关系授予他人,则为真(True)
|