postgres change owner of schema public code example Example: postgres change the name of schema ALTER SCHEMA old_name RENAME TO new_name;