目录pg_tablespace存储关于可用表空间的信息。表可以被放置在特定表空间中以实现磁盘布局的管理。
与大部分其他系统目录不同,pg_tablespace在整个集簇的所有数据库之间共享:在每一个集簇中只有一个pg_tablespace的拷贝,而不是每个数据库一份。
表 45.43. pg_tablespace 列
| Name | Type | References | Description |
|---|
spcname | name | | Tablespace name |
spcowner | oid | pg_authid.oid | Owner of the tablespace, usually the user who created it |
spcacl | aclitem[] | | Access privileges; see
GRANT and
REVOKE
for details
|
spcoptions | text[] | | Tablespace-level options, as “keyword=value” strings
|