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

53.46. pg_seclabel #

The catalog <structname>pg_seclabel</structname> stores security labels on 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_seclabelカタログにはデータベースオブジェクト上のセキュリティラベルが格納されます。 セキュリティラベルはSECURITY LABELコマンドを用いて操作できます。 セキュリティラベルを閲覧するより簡単な方法については54.22を参照してください。

See also <link linkend="catalog-pg-shseclabel"><structname>pg_shseclabel</structname></link>, which performs a similar function for security labels of database objects that are shared across a database cluster. pg_shseclabelも参照してください。 これは、データベースクラスタ間で共有されたデータベースオブジェクトにおけるセキュリティラベルのための類似した機能を提供します。

表53.46 pg_seclabelの列

<title><structname>pg_seclabel</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

objsubid int4

For a security label on a table column, this is the column number (the <structfield>objoid</structfield> and <structfield>classoid</structfield> refer to the table itself). For all other object types, this column is zero. テーブル列上のセキュリティラベルでは、これは列番号です(objoidおよびclassoidはテーブル自身を参照します)。 他のすべての種類のオブジェクトでは、この列はゼロです。

provider text

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

label text

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