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

54.20. pg_roles #

The view <structname>pg_roles</structname> provides access to information about database roles. This is simply a publicly readable view of <link linkend="catalog-pg-authid"><structname>pg_authid</structname></link> that blanks out the password field. pg_rolesビューはデータベースのロールに関する情報を提供します。 これは単に一般に公開されているpg_authidのビューですが、パスワード列が空白になっています。

表54.20 pg_rolesの列

<title><structname>pg_roles</structname> Columns</title>

Column Type 列 型

Description 説明

rolname name

Role name ロール名

rolsuper bool

Role has superuser privileges ロールはスーパーユーザの権限を持っている

rolinherit bool

Role automatically inherits privileges of roles it is a member of ロールは自動的にメンバとして属するロールの権限を継承する

rolcreaterole bool

Role can create more roles ロールはロールを作成できる

rolcreatedb bool

Role can create databases ロールはデータベースを作成できる

rolcanlogin bool

Role can log in. That is, this role can be given as the initial session authorization identifier ロールはログインできる。つまりロールはセッションを始める認証の識別子となることができます

rolreplication bool

Role is a replication role. A replication role can initiate replication connections and create and drop replication slots. ロールはレプリケーション用のロール。 レプリケーションロールは、レプリケーション接続を開始すること、およびレプリケーションスロットを作成および削除できます。

rolconnlimit int4

For roles that can log in, this sets maximum number of concurrent connections this role can make. -1 means no limit. ログイン可能なロールでは、これはロールが確立できる同時実行接続数を設定します。 -1は制限無しを意味します。

rolpassword text

Not the password (always reads as <literal>********</literal>) パスワードでありません(常に********のように読まれます)

rolvaliduntil timestamptz

Password expiry time (only used for password authentication); null if no expiration パスワード有効期限(パスワード認証でのみ使用)。 NULLの場合には満了時間はありません。

rolbypassrls bool

Role bypasses every row-level security policy, see <xref linkend="ddl-rowsecurity"/> for more information. すべての行単位セキュリティポリシーを無視するロール。詳しくは5.8を参照してください。

rolconfig text[]

Role-specific defaults for run-time configuration variables 実行時設定変数に関するロール固有のデフォルト

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

ID of role ロールのID