↑↓ select↵ open⌫ change scopeOpen full search

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

Unsupported versions: 8.0 / 7.4 / 7.3 / 7.2 / 7.1
Historical version. PostgreSQL 7.2 has reached end of support. See the current manual.

3.8. pg_group

This catalog defines groups and stores what users belong to what groups. Groups are created with the CREATE GROUP command. Consult the Administrator's Guide for information about user permission management.

Because user and group identities are cluster-wide, pg_group is shared across all databases of a cluster: there is only one copy of pg_group per cluster, not one per database.

Table 3-8. pg_group Columns

NameTypeReferencesDescription
gronamename Name of the group
grosysidint4 An arbitrary number to identify this group
grolistint4[]pg_shadow.usesysidAn array containing the ids of the users in this group

Report a documentation issue

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