postgresql_16:7.1.85 CREATE TABLESPACE
PostgreSQL 16 > Reference > SQL Commands > CREATE TABLESPACE
define a new tablespace
CREATE TABLESPACE tablespace_name
[ OWNER { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER } ]
LOCATION 'directory'
[ WITH ( tablespace_option = value [, ... ] ) ]
CREATE TABLESPACE tablespace_name
[ OWNER { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER } ]
LOCATION 'directory'
[ WITH ( tablespace_option = value [, ... ] ) ]
Subsections
- postgresql_16:7.1.85.1 Description
- postgresql_16:7.1.85.2 Parameters
- postgresql_16:7.1.85.3 Notes
- postgresql_16:7.1.85.4 Examples
- postgresql_16:7.1.85.5 Compatibility
- postgresql_16:7.1.85.6 See Also