Skip to content

pg_tablespace

The pg_tablespace system catalog table stores information about the available tablespaces. Tables can be placed in particular tablespaces to aid administration of disk layout. Unlike most system catalogs, pg_tablespace is shared across all databases of a WarehousePG cluster: there is only one copy of pg_tablespace per system, not one per database.

columntypereferencesdescription
oidoidThe object ID
spcnamenameTablespace name.
spcowneroidpg_authid.oidOwner of the tablespace, usually the user who created it.
spcaclaclitem[]Tablespace access privileges.
spcoptionstext[]Tablespace contentID locations.

Parent topic: System Catalogs Definitions