RefLib

Reference library for AI

Back

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

Back