1
0
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:
Bruce Momjian
2011-02-15 15:00:07 -05:00
parent f5fc1de501
commit fe8f15d5d2
4 changed files with 10 additions and 4 deletions

View File

@ -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;