rename database name psqk code example Example: postgres rename database ALTER DATABASE "old_dbname" RENAME TO "new_dbname"