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

54.14. pg_policies #

The view <structname>pg_policies</structname> provides access to useful information about each row-level security policy in the database. pg_policiesビューはデータベース内の行単位セキュリティのポリシーについて便利な情報へのアクセスを提供します。

表54.14 pg_policiesの列

<title><structname>pg_policies</structname> Columns</title>

Column Type 列 型

Description 説明

schemaname name (references <link linkend="catalog-pg-namespace"><structname>pg_namespace</structname></link>.<structfield>nspname</structfield>) (参照先 pg_namespace.nspname

Name of schema containing table policy is on ポリシーが適用されているテーブルがあるスキーマの名前

tablename name (references <link linkend="catalog-pg-class"><structname>pg_class</structname></link>.<structfield>relname</structfield>) (参照先 pg_class.relname

Name of table policy is on ポリシーが適用されているテーブルの名前

policyname name (references <link linkend="catalog-pg-policy"><structname>pg_policy</structname></link>.<structfield>polname</structfield>) (参照先 pg_policy.polname

Name of policy ポリシーの名前

permissive text

Is the policy permissive or restrictive? 許容(permissive)ポリシーか、制限(restrictive)ポリシーか

roles name[]

The roles to which this policy applies このポリシーが適用されるロール

cmd text

The command type to which the policy is applied ポリシーが適用されるコマンドの種類

qual text

The expression added to the security barrier qualifications for queries that this policy applies to このポリシーが適用される問い合わせにセキュリティバリアの制約として追加される式

with_check text

The expression added to the WITH CHECK qualifications for queries that attempt to add rows to this table このテーブルに行を追加する問い合わせにWITH CHECKの制約として追加される式