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