PostgreSQL 中文参考文档
🌐 英文原版 官方 ↗

53.9. pg_group #

视图 pg_group 的存在是为了向后兼容:它模拟 8.1 版本之前的 PostgreSQL 中存在的一个目录。 它显示所有被标记为 rolcanlogin 为假的角色(即大致上被当作 组使用的角色集合)的名称和成员。

Table 53.9. \1 字段列说明

Column Type

Description

groname name (references pg_authid.rolname)

组的名称

grosysid oid (references pg_authid.oid)

这个组的 ID

grolist oid[] (references pg_authid.oid)

一个包含该组中角色 ID 的数组