↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Supported versions: Current (18) / 17 / 16 / 15 / 14
Development versions: 19 / 20devel
Unsupported versions: 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
Historical version. PostgreSQL 9.1 has reached end of support. 2016-10-27. See the current manual.

45.54. pg_group

The view pg_group exists for backwards compatibility: it emulates a catalog that existed in PostgreSQL before version 8.1. It shows the names and members of all roles that are marked as not rolcanlogin, which is an approximation to the set of roles that are being used as groups.

Table 45-55. pg_group Columns

NameTypeReferencesDescription
gronamenamepg_authid.rolnameName of the group
grosysidoidpg_authid.oidID of this group
grolistoid[]pg_authid.oidAn array containing the IDs of the roles in this group

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.