postgresql_16:7.1.27 ALTER SCHEMA
PostgreSQL 16 > Reference > SQL Commands > ALTER SCHEMA
change the definition of a schema
ALTER SCHEMA name RENAME TO new_name
ALTER SCHEMA name OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
ALTER SCHEMA name RENAME TO new_name
ALTER SCHEMA name OWNER TO { new_owner | CURRENT_ROLE | CURRENT_USER | SESSION_USER }
Subsections
- postgresql_16:7.1.27.1 Description
- postgresql_16:7.1.27.2 Parameters
- postgresql_16:7.1.27.3 Compatibility
- postgresql_16:7.1.27.4 See Also