summaryrefslogtreecommitdiff
path: root/src/bin/pg_upgrade/function.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2019-10-08 22:16:48 -0400
committerBruce Momjian <bruce@momjian.us>2019-10-08 22:16:48 -0400
commit1634d361577aab30c7d90336c96b969a2f5e5811 (patch)
tree4df086888222cc786c136e2284e6f86ce1fd2e21 /src/bin/pg_upgrade/function.c
parent6c9fb69f2bb589c210a114162e67c86476460453 (diff)
pg_upgrade: clarify the database names in error files
Previously, the "Database:" label in the error file was unclear if the label was a status report or the problem was _in_ the database. New text is "In database:". Reported-by: Justin Pryzby Discussion: https://postgr.es/m/20191002172337.GC9680@telsasoft.com Backpatch-through: head
Diffstat (limited to 'src/bin/pg_upgrade/function.c')
-rw-r--r--src/bin/pg_upgrade/function.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_upgrade/function.c b/src/bin/pg_upgrade/function.c
index 0c66d1c0566..3cbaab6a5e2 100644
--- a/src/bin/pg_upgrade/function.c
+++ b/src/bin/pg_upgrade/function.c
@@ -256,7 +256,7 @@ check_loadable_libraries(void)
}
if (was_load_failure)
- fprintf(script, _("Database: %s\n"),
+ fprintf(script, _("In database: %s\n"),
old_cluster.dbarr.dbs[os_info.libraries[libnum].dbnum].db_name);
}