## 52.71. `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 52.72. `pg_group` Columns**

|                                                     Column Type<br/><br/> Description                                                     |
|-------------------------------------------------------------------------------------------------------------------------------------------|
|                 `groname` `name` (references [`pg_authid`](catalog-pg-authid.html).`rolname`)<br/><br/> Name of the group                 |
|                   `grosysid` `oid` (references [`pg_authid`](catalog-pg-authid.html).`oid`)<br/><br/> ID of this group                    |
|`grolist` `oid[]` (references [`pg_authid`](catalog-pg-authid.html).`oid`)<br/><br/> An array containing the IDs of the roles in this group|

