Postgresql 中文操作指南
53.56. pg_tablespace #
目录 pg_tablespace 存储有关可用表空间的信息。可以将表放置在特定表空间中以帮助管理磁盘布局。
The catalog pg_tablespace stores information about the available tablespaces. Tables can be placed in particular tablespaces to aid administration of disk layout.
与大多数系统目录不同,pg_tablespace 在集群的所有数据库之间共享:每个集群只有一个 pg_tablespace 副本,而不是每个数据库一个。
Unlike most system catalogs, pg_tablespace is shared across all databases of a cluster: there is only one copy of pg_tablespace per cluster, not one per database.
Table 53.56. pg_tablespace Columns
Table 53.56. pg_tablespace Columns
Column Type Description |
oid oid Row identifier |
spcname name Tablespace name |
spcowner oid (references pg_authid.oid) Owner of the tablespace, usually the user who created it |
spcacl aclitem[] Access privileges; see Section 5.7 for details |
spcoptions text[] Tablespace-level options, as “keyword=value” strings |