pg_seclabels

一个列出安全标签信息的系统视图

pg_seclabels 是一个列出安全标签信息的系统目录视图,提供比底层 pg_seclabel 表更方便的格式。

pg_seclabels 添加于 PostgreSQL 9.1

按 PostgreSQL 版本定义

pg_seclabels (PostgreSQL 17)

             View "pg_catalog.pg_seclabels"
    Column    |  Type   | Collation | Nullable | Default 
--------------+---------+-----------+----------+---------
 objoid       | oid     |           |          | 
 classoid     | oid     |           |          | 
 objsubid     | integer |           |          | 
 objtype      | text    |           |          | 
 objnamespace | oid     |           |          | 
 objname      | text    | C         |          | 
 provider     | text    | C         |          | 
 label        | text    | C         |          |
    

文档: pg_seclabels

pg_seclabels (PostgreSQL 16)

             View "pg_catalog.pg_seclabels"
    Column    |  Type   | Collation | Nullable | Default 
--------------+---------+-----------+----------+---------
 objoid       | oid     |           |          | 
 classoid     | oid     |           |          | 
 objsubid     | integer |           |          | 
 objtype      | text    |           |          | 
 objnamespace | oid     |           |          | 
 objname      | text    | C         |          | 
 provider     | text    | C         |          | 
 label        | text    | C         |          |
    

文档: pg_seclabels

pg_seclabels (PostgreSQL 15)

             View "pg_catalog.pg_seclabels"
    Column    |  Type   | Collation | Nullable | Default 
--------------+---------+-----------+----------+---------
 objoid       | oid     |           |          | 
 classoid     | oid     |           |          | 
 objsubid     | integer |           |          | 
 objtype      | text    |           |          | 
 objnamespace | oid     |           |          | 
 objname      | text    | C         |          | 
 provider     | text    | C         |          | 
 label        | text    | C         |          |
    

文档: pg_seclabels

pg_seclabels (PostgreSQL 14)

             View "pg_catalog.pg_seclabels"
    Column    |  Type   | Collation | Nullable | Default 
--------------+---------+-----------+----------+---------
 objoid       | oid     |           |          | 
 classoid     | oid     |           |          | 
 objsubid     | integer |           |          | 
 objtype      | text    |           |          | 
 objnamespace | oid     |           |          | 
 objname      | text    | C         |          | 
 provider     | text    | C         |          | 
 label        | text    | C         |          |
    

文档: pg_seclabels

pg_seclabels (PostgreSQL 13)

             View "pg_catalog.pg_seclabels"
    Column    |  Type   | Collation | Nullable | Default 
--------------+---------+-----------+----------+---------
 objoid       | oid     |           |          | 
 classoid     | oid     |           |          | 
 objsubid     | integer |           |          | 
 objtype      | text    |           |          | 
 objnamespace | oid     |           |          | 
 objname      | text    | C         |          | 
 provider     | text    | C         |          | 
 label        | text    | C         |          |
    

文档: pg_seclabels

pg_seclabels (PostgreSQL 12)

             View "pg_catalog.pg_seclabels"
    Column    |  Type   | Collation | Nullable | Default 
--------------+---------+-----------+----------+---------
 objoid       | oid     |           |          | 
 classoid     | oid     |           |          | 
 objsubid     | integer |           |          | 
 objtype      | text    |           |          | 
 objnamespace | oid     |           |          | 
 objname      | text    | C         |          | 
 provider     | text    | C         |          | 
 label        | text    | C         |          |
    

文档: pg_seclabels

pg_seclabels (PostgreSQL 11)

             View "pg_catalog.pg_seclabels"
    Column    |  Type   | Collation | Nullable | Default 
--------------+---------+-----------+----------+---------
 objoid       | oid     |           |          | 
 classoid     | oid     |           |          | 
 objsubid     | integer |           |          | 
 objtype      | text    |           |          | 
 objnamespace | oid     |           |          | 
 objname      | text    |           |          | 
 provider     | text    |           |          | 
 label        | text    |           |          |
    

文档: pg_seclabels

pg_seclabels (PostgreSQL 10)

             View "pg_catalog.pg_seclabels"
    Column    |  Type   | Collation | Nullable | Default 
--------------+---------+-----------+----------+---------
 objoid       | oid     |           |          | 
 classoid     | oid     |           |          | 
 objsubid     | integer |           |          | 
 objtype      | text    |           |          | 
 objnamespace | oid     |           |          | 
 objname      | text    |           |          | 
 provider     | text    |           |          | 
 label        | text    |           |          |
    

文档: pg_seclabels

pg_seclabels (PostgreSQL 9.6)

   View "pg_catalog.pg_seclabels"
    Column    |  Type   | Modifiers 
--------------+---------+-----------
 objoid       | oid     | 
 classoid     | oid     | 
 objsubid     | integer | 
 objtype      | text    | 
 objnamespace | oid     | 
 objname      | text    | 
 provider     | text    | 
 label        | text    |
    

文档: pg_seclabels

pg_seclabels (PostgreSQL 9.5)

   View "pg_catalog.pg_seclabels"
    Column    |  Type   | Modifiers 
--------------+---------+-----------
 objoid       | oid     | 
 classoid     | oid     | 
 objsubid     | integer | 
 objtype      | text    | 
 objnamespace | oid     | 
 objname      | text    | 
 provider     | text    | 
 label        | text    |
    

文档: pg_seclabels

pg_seclabels (PostgreSQL 9.4)

   View "pg_catalog.pg_seclabels"
    Column    |  Type   | Modifiers 
--------------+---------+-----------
 objoid       | oid     | 
 classoid     | oid     | 
 objsubid     | integer | 
 objtype      | text    | 
 objnamespace | oid     | 
 objname      | text    | 
 provider     | text    | 
 label        | text    |
    

文档: pg_seclabels

pg_seclabels (PostgreSQL 9.3)

   View "pg_catalog.pg_seclabels"
    Column    |  Type   | Modifiers 
--------------+---------+-----------
 objoid       | oid     | 
 classoid     | oid     | 
 objsubid     | integer | 
 objtype      | text    | 
 objnamespace | oid     | 
 objname      | text    | 
 provider     | text    | 
 label        | text    |
    

文档: pg_seclabels

pg_seclabels (PostgreSQL 9.2)

   View "pg_catalog.pg_seclabels"
    Column    |  Type   | Modifiers 
--------------+---------+-----------
 objoid       | oid     | 
 classoid     | oid     | 
 objsubid     | integer | 
 objtype      | text    | 
 objnamespace | oid     | 
 objname      | text    | 
 provider     | text    | 
 label        | text    |
    

文档: pg_seclabels

pg_seclabels (PostgreSQL 9.1)

   View "pg_catalog.pg_seclabels"
    Column    |  Type   | Modifiers 
--------------+---------+-----------
 objoid       | oid     | 
 classoid     | oid     | 
 objsubid     | integer | 
 objtype      | text    | 
 objnamespace | oid     | 
 objname      | text    | 
 provider     | text    | 
 label        | text    |
    

文档: pg_seclabels

更改历史记录

PostgreSQL 9.1 引入以来,此视图未被修改。

分类

安全, 系统目录

另请参阅

pg_seclabel

反馈

提交关于 "pg_seclabels" 的任何评论、建议或更正 此处