RefLib

Reference library for AI

Back

postgresql_16:7.1.27.1 Description

PostgreSQL 16 > Reference > SQL Commands > ALTER SCHEMA > Description

ALTER SCHEMA changes the definition of a schema.

You must own the schema to use ALTER SCHEMA. To rename a schema you must also have the CREATE privilege for the database. To alter the owner, you must be able to SET ROLE to the new owning role, and that role must have the CREATE privilege for the database. (Note that superusers have all these privileges automatically.)

Back