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