select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

SYSTEM CATALOGS / SYSTEM VIEWS

The view pg_seclabels provides information about security labels.

Kind
System views
Columns in this snapshot
8
Definition source
English manual

Columns 8

ColumnTypeDescription / reference
objoidoidThe OID of the object this security label pertains to
classoidoidThe OID of the system catalog this object appears in
pg_class.oid
objsubidint4For a security label on a table column, this is the column number (the objoid and classoid refer to the table itself). For all other object types, this column is zero.
objtypetextThe type of object to which this label applies, as text.
objnamespaceoidThe OID of the namespace for this object, if applicable; otherwise NULL.
pg_namespace.oid
objnametextThe name of the object to which this label applies, as text.
providertextThe label provider associated with this label.
pg_seclabel.provider
labeltextThe security label applied to this object.
pg_seclabel.label
Column history across versions
Version history 1
  1. PG 9.0 → 9.1added

Definition snapshot: english-manuals:646959a847af92cdd50bb8d8188… · English manual source