ページの先頭行へ戻る
Enterprise Postgres 15 セキュリティ運用ガイド

A.4 pgx_confidential_privilege

機密権限の一覧です。機密オブジェクトごとに設定された機密権限や更新時刻などを参照できます。

カラム名

制約

説明

cpriid

bigint

primary key
generated always as identity

権限の識別子。

cprimatid

bigint

not null
references pgx_confidential_matrix(cmatid)

権限が属する機密マトリクスの識別子。

cprilevid

bigint

not null
references pgx_confidential_level(clevid)

権限の設定対象となる機密レベルの識別子。

cprigroid

bigint

not null
references pgx_confidential_group(cgroid)

権限の設定対象となる機密グループの識別子。

cpritype

text

not null

権限の設定対象となる機密オブジェクトの種別。

cpriupdatetime

timestamp with time zone

not null

権限の設定・変更が行われた時刻。

cpriacl

text[]

not null

設定されているアクセス権限(注1)。

注1: 権限を示す文字列は、cpriaclのtext型の配列の中で、以下の順に現れます。

ALL,SELECT,INSERT,UPDATE,DELETE,TRUNCATE,REFERENCES,TRIGGER,CREATE,CONNECT,TEMPORARY,EXECUTE,USAGE

もし、該当する権限が存在しなければ、単に文字列が現れません。例えば、INSERT権限とTRUNCATE権限だけを持っているならば、{'INSERT','TRUNCATE'}です。