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

53.50. pg_shseclabel #

The catalog <structname>pg_shseclabel</structname> stores security labels on shared database objects. Security labels can be manipulated with the <link linkend="sql-security-label"><command>SECURITY LABEL</command></link> command. For an easier way to view security labels, see <xref linkend="view-pg-seclabels"/>. pg_shseclabelカタログは、共有データベースオブジェクト上のセキュリティラベルを保存します。 セキュリティラベルはSECURITY LABELコマンドで操作されます。 セキュリティラベルを見る簡単な方法は、54.22を参照してください。

See also <link linkend="catalog-pg-seclabel"><structname>pg_seclabel</structname></link>, which performs a similar function for security labels involving objects within a single database. pg_seclabelも参照してください。 これは、単一データベース内のオブジェクトを含むセキュリティラベルのための類似した機能を提供します。

Unlike most system catalogs, <structname>pg_shseclabel</structname> is shared across all databases of a cluster: there is only one copy of <structname>pg_shseclabel</structname> per cluster, not one per database. 多くのシステムカタログと違い、pg_shseclabelはクラスタ内の全てのデータベース間で共有されます。 pg_shseclabelは、データベースごとではなく、クラスタごとに1つのみ存在します。

表53.50 pg_shseclabelの列

<title><structname>pg_shseclabel</structname> Columns</title>

Column Type 列 型

Description 説明

objoid oid (references any OID column) (いずれかのOID列)

The OID of the object this security label pertains to このセキュリティラベルが関係するオブジェクトのOID

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

The OID of the system catalog this object appears in このオブジェクトが現れるシステムカタログのOID

provider text

The label provider associated with this label. このラベルに関連付いたラベルプロバイダです。

label text

The security label applied to this object. このオブジェクトに適用されるセキュリティラベルです。