ALTER SCHEMA changes the definition of a schema. To rename a schema you must own the schema and have the privilege CREATE for the database. To change the owner of a schema, you must be a superuser.
The name of an existing schema.
The new name of the schema. The new name cannot begin with pg_, as such names are reserved for system schemas.
The new owner of the schema.
If 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.