历史版本。 PostgreSQL 9.1 已结束支持。 2016-10-27. 请参阅 当前版本手册.
45.41. pg_tablespace #
目录pg_tablespace存储关于可用表空间的信息。表可以被放置在特定表空间中以实现磁盘布局的管理。
与大部分其他系统目录不同,pg_tablespace在整个集簇的所有数据库之间共享:在每一个集簇中只有一个pg_tablespace的拷贝,而不是每个数据库一份。
表 45.41. pg_tablespace 列
| Name | Type | References | Description |
|---|---|---|---|
spcname | name | Tablespace name | |
spcowner | oid | | Owner of the tablespace, usually the user who created it |
spclocation | text | Location (directory path) of the tablespace | |
spcacl | aclitem[] | Access privileges; see GRANT and REVOKE for details | |
spcoptions | text[] | Tablespace-level options, as “keyword=value” strings |