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

54.33. pg_user #

The view <structname>pg_user</structname> provides access to information about database users. This is simply a publicly readable view of <link linkend="view-pg-shadow"><structname>pg_shadow</structname></link> that blanks out the password field. pg_userビューはデータベースユーザに関する情報へのアクセスを提供します。 これはパスワードフィールドを隠蔽したpg_shadowを公に読めるようにしたビューです。

表54.33 pg_userの列

<title><structname>pg_user</structname> Columns</title>

Column Type 列 型

Description 説明

usename name

User name ユーザ名

usesysid oid

ID of this user ユーザID

usecreatedb bool

User can create databases ユーザはデータベースを作成可能です。

usesuper bool

User is a superuser ユーザはスーパーユーザです。

userepl bool

User can initiate streaming replication and put the system in and out of backup mode. ユーザはストリーミングレプリケーションを開始することができ、システムをバックアップモードにしたり、戻したりできます。

usebypassrls bool

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

passwd text

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

valuntil timestamptz

Password expiry time (only used for password authentication) パスワード有効期限(パスワード認証でのみ使用)

useconfig text[]

Session defaults for run-time configuration variables 実行時設定変数のセッションデフォルト