alter schema in postgresql code example Example: postgres change the name of schema ALTER SCHEMA old_name RENAME TO new_name;