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

53.36. pg_user_mappings #

The view <structname>pg_user_mappings</structname> provides access to information about user mappings. This is essentially a publicly readable view of <link linkend="catalog-pg-user-mapping"><structname>pg_user_mapping</structname></link> that leaves out the options field if the user has no rights to use it. pg_user_mappingsビューはユーザマッピングについての情報へのアクセスを提供します。 これはユーザが使用する権利を持っていないオプションフィールドを取り除いた、基本的には公開されていて読み取り可能なpg_user_mappingのビューです。

表53.36 pg_user_mappingsの列

<title><structname>pg_user_mappings</structname> Columns</title>

Column Type 列 型

Description 説明

umid oid (references <link linkend="catalog-pg-user-mapping"><structname>pg_user_mapping</structname></link>.<structfield>oid</structfield>) (参照先 pg_user_mapping.oid)

OID of the user mapping ユーザマッピングのOID

srvid oid (references <link linkend="catalog-pg-foreign-server"><structname>pg_foreign_server</structname></link>.<structfield>oid</structfield>) (参照先 pg_foreign_server.oid)

The OID of the foreign server that contains this mapping マッピングを保持する外部サーバのOID

srvname name (references <link linkend="catalog-pg-foreign-server"><structname>pg_foreign_server</structname></link>.<structfield>srvname</structfield>) (参照先 pg_foreign_server.srvname)

Name of the foreign server 外部サーバの名前

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

OID of the local role being mapped, or zero if the user mapping is public マッピングされているローカルのロールのOID。 ユーザマッピングが公開されている場合はゼロになります。

usename name

Name of the local user to be mapped マッピングされているローカルユーザの名前

umoptions text[]

User mapping specific options, as <quote>keyword=value</quote> strings 「keyword=value」文字列のようなユーザマッピングの特定のオプション


To protect password information stored as a user mapping option, the <structfield>umoptions</structfield> column will read as null unless one of the following applies: ユーザマッピングオプションとして格納されたパスワード情報を保護するために、umoptions列は以下に該当しない限りはNULLとして読み込みます。