mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Adjust pg_upgrade error message, array freeing, and add error check.
This commit is contained in:
@ -49,7 +49,7 @@ transfer_all_new_dbs(DbInfoArr *old_db_arr,
|
||||
pageCnvCtx *pageConverter = NULL;
|
||||
|
||||
if (strcmp(old_db->db_name, new_db->db_name) != 0)
|
||||
pg_log(PG_FATAL, "old and new databases have a different names: old \"%s\", new \"%s\"\n",
|
||||
pg_log(PG_FATAL, "old and new databases have different names: old \"%s\", new \"%s\"\n",
|
||||
old_db->db_name, new_db->db_name);
|
||||
|
||||
n_maps = 0;
|
||||
|
Reference in New Issue
Block a user