Updated on 2024-09-30 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

N/A

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

provider

text

N/A

Label provider associated with this label

label

text

N/A

Security label applied to this object