Updated on 2022-06-11 GMT+08:00

PG_SECLABEL

PG_SECLABEL records security labels on database objects.

See also PG_SHSECLABEL, which performs a similar function for security labels of database objects that are shared across a database cluster.

Table 1 PG_SECLABEL columns

Name

Type

Reference

Description

objoid

oid

Any OID column

OID of the object this security label pertains to

classoid

oid

PG_CLASS.oid

OID of the system catalog that contains the object

objsubid

integer

-

For a security label on a table column, this is the column number.

provider

text

-

Label provider associated with this label

label

text

-

Security label applied to this object