GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.postgresql.org — CREATE TABLESPACE November 19, 2026: PostgreSQL 19 Released!
Development Versions:
devel
CREATE TABLESPACECREATE TABLESPACE — define a new tablespace SynopsisCREATE TABLESPACE Description
A tablespace allows superusers to define an alternative location on the file system where the data files containing database objects (such as tables and indexes) can reside. A user with appropriate privileges can pass WarningA tablespace cannot be used independently of the cluster in which it is defined; see Section 23.6. Parameters
Notes
ExamplesTo create a tablespace mkdir /data/dbs chown postgres:postgres /data/dbs Then issue the tablespace creation command inside PostgreSQL: CREATE TABLESPACE dbspace LOCATION '/data/dbs'; To create a tablespace owned by a different database user, use a command like this: CREATE TABLESPACE indexspace OWNER genevieve LOCATION '/data/indexes'; Compatibility
Submit correctionIf you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |