Updated on 2024-05-07 GMT+08:00

PG_SECLABEL

PG_SECLABEL records security labels on database objects.

See also PG_SHSECLABEL, which provides a similar function for security labels of database objects that are shared within one database.

Table 1 PG_SECLABEL columns

Name

Type

Reference

Description

objoid

oid

Any OID column

OID of the object that this security label pertains to

classoid

oid

oid in PG_CLASS

OID of the system catalog where the object appears

objsubid

integer

-

Column number for a security label on a table column

provider

text

-

Label provider associated with the label

label

text

-

Security label applied to the object