GaussDB-PG_SECLABELS
PG_SECLABELS视图显示安全标签的信息。
| 名称 | 类型 | 引用 | 描述 |
|---|---|---|---|
| objoid | oid | 任意OID属性 | 该安全标签所属的对象的OID。 |
| classoid | oid | PG_CLASS.oid | 该安全标签所属的对象所在系统表的OID。 |
| objsubid | integer | - | - 对于一个在表字段上的安全标签,该字段是字段序号(引用表本身的objoid和classoid)。 |
- 对于所有其他对象类型,该字段为0。 | | objtype | text | - | 该标签所属的对象的类型,文本格式。例如:- table:表类型。
- column:列类型。 | | objnamespace | oid | PG_NAMESPACE.oid | 该对象的名称空间的OID,如果不适用,取值为NULL。 | | objname | text | - | 该标签所属的对象的名称,文本格式。 | | provider | text | PG_SECLABEL.provider | 该标签的提供者。 | | label | text | PG_SECLABEL.label | 安全标签名称。 |
更多详情请参考GaussDB 文档中心:doc.hcs.huawei.com/db/zh-cn/ga…