From 1634d361577aab30c7d90336c96b969a2f5e5811 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 8 Oct 2019 22:16:48 -0400 Subject: 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 --- src/bin/pg_upgrade/function.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin/pg_upgrade/function.c') 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); } -- cgit v1.2.3