バージョンごとのドキュメント一覧

54.8. pg_group #

Unlike information_schema.applicable_roles, this shows no members for pg_database_owner. The v8.1 catalog would have shown no members if that role had existed at the time.

The view <structname>pg_group</structname> exists for backwards compatibility: it emulates a catalog that existed in <productname>PostgreSQL</productname> before version 8.1. It shows the names and members of all roles that are marked as not <structfield>rolcanlogin</structfield>, which is an approximation to the set of roles that are being used as groups. pg_groupビューは下位互換のために存在しています。 バージョン8.1以前のPostgreSQLのカタログを模擬しています。 このビューは、rolcanloginとしてマークされていない、すべてのロールの名前とメンバを保持しています。 これはグループとして使用されているロールの集合と似ています。

表54.8 pg_groupの列

<title><structname>pg_group</structname> Columns</title>

Column Type 列 型

Description 説明

groname name (references <link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>.<structfield>rolname</structfield>) (参照先 pg_authid.rolname

Name of the group グループの名前

grosysid oid (references <link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>.<structfield>oid</structfield>) (参照先 pg_authid.oid

ID of this group グループのID

grolist oid[] (references <link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>.<structfield>oid</structfield>) (参照先 pg_authid.oid

An array containing the IDs of the roles in this group このグループのロールIDを含む配列