pg_tablespace
目录 pg_tablespace 存储有关可用表空间的信息。可以将表放置在特定的表空间中,以方便管理磁盘布局。
与大多数系统目录不同,pg_tablespace 在集群的所有数据库中共享:每个集群只有一个 pg_tablespace 的副本,而不是每个数据库都有一个副本。
表 51.56. pg_tablespace 列
列类型
描述
oid oid
oid
行标识符
spcname name
spcname
name
表空间名称
spcowner oid (引用 pg_authid.oid)
spcowner
pg_authid
表空间的所有者,通常是创建该表空间的用户
spcacl aclitem[]
spcacl
aclitem[]
访问权限;有关详细信息,请参阅 第 5.8 节
spcoptions text[]
spcoptions
text[]
表空间级选项,即 “关键字=值” 字符串