47.60. pg_group

Note: The following description applies both to Postgres-XC and PostgreSQL if not described explicitly. You can read PostgreSQL as Postgres-XC except for version number, which is specific to each product.

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 47-61. 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