pg_namespace

作者:瀚高PG实验室 (Highgo PG Lab)-海无涯

  pg_namespace 是存储名字空间的表。名字空间是SQL模式之下的结构:每个名字空间拥有一个独立的表、类型等的集合,且其中没有名字冲突。

表结构如下:

highgo=# \d+ pg_namespace
                     Table "pg_catalog.pg_namespace"
  Column  |   Type    | Modifiers | Storage  | Stats target | Description 
----------+-----------+-----------+----------+--------------+-------------
 nspname  | name      | not null  | plain    |              | 
 nspowner | oid       | not null  | plain    |              | 
 nspacl   | aclitem[] |           | extended |              | 
Indexes:
    "pg_namespace_nspname_index" UNIQUE, btree (nspname)
    "pg_namespace_oid_index" UNIQUE, btree (oid)
Replica Identity: FULL
Has OIDs: yes

Name

Type

References

Description

oid

oid

 

Row identifier (hidden attribute; must be explicitly selected)

nspname

name

 

Name of the namespace

nspowner

oid

pg_authid.oid

Owner of the namespace

nspacl

aclitem[]

 

Access privileges; see GRANT and REVOKE for details

名字

类型

引用

描述

nspname

name

名字空间(模式)的名称。

nspowner

oid

pg_authid.oid

名字空间(模式)的所有者

nspacl

aclitem[]

访问权限。可以细分GRANT和REVOKE权限

官网连接:https://www.postgresql.org/docs/9.5/static/catalog-pg-namespace.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值