Updated on 2024-06-03 GMT+08:00

GS_LABELS

GS_LABELS displays all configured resource labels. Only the users with system administrator or security policy administrator permission can access this view.

Table 1 GS_LABELS columns

Name

Type

Description

labelname

name

Resource label name

labeltype

name

Resource label type This parameter corresponds to the labeltype column in the GS_POLICY_LABEL system catalog.

fqdntype

name

Database resource type. For example, table, schema, and index.

schemaname

name

Name of the schema to which the database resource belongs

fqdnname

name

Database resource name

columnname

name

Name of the database resource column. If the marked database resource is not a column, this parameter is left blank.