Command Prompt, Inc.
pg_tablespace

44.34. 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.

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 44-34. pg_tablespace Columns

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

Powered by Mammoth PostgreSQL
Copyright © 2000-2008 Command Prompt, Inc. All Rights Reserved. All trademarks property of their respective owners.