↑↓ 选择↵ 打开⌫ 切换范围完整搜索

PG.CENTER 连接 PostgreSQL 文档、百科与生态知识。由 Pigsty 维护。

支持中的版本: 当前版本 (18) / 17 / 16 / 15 / 14
开发中的版本: 19 / 20devel
已结束支持的版本: 13 / 12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4 / 8.3 / 8.2 / 8.1 / 8.0
历史版本。 PostgreSQL 9.1 已结束支持。 2016-10-27. 请参阅 当前版本手册.

45.41. pg_tablespace #

目录pg_tablespace存储关于可用表空间的信息。表可以被放置在特定表空间中以实现磁盘布局的管理。

与大部分其他系统目录不同,pg_tablespace在整个集簇的所有数据库之间共享:在每一个集簇中只有一个pg_tablespace的拷贝,而不是每个数据库一份。

表 45.41. pg_tablespace 列

NameTypeReferencesDescription
spcnamename Tablespace name
spcowneroidpg_authid.oidOwner of the tablespace, usually the user who created it
spclocationtext Location (directory path) of the tablespace
spcaclaclitem[]  Access privileges; see GRANT and REVOKE for details
spcoptionstext[]  Tablespace-level options, as “keyword=value” strings

报告文档问题

阅读 上游文档. 反馈更正前请先核对 当前版本手册.