pg_seclabels

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

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

pg_seclabelsPostgreSQL 9.1 中添加。

按 PostgreSQL 版本定义

pg_seclabels (PostgreSQL 18)

             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 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”的任何评论、建议或更正 此处