]> granicus.if.org Git - postgresql/commitdiff
pg_upgrade: adjust error output to use new database list format
authorBruce Momjian <bruce@momjian.us>
Wed, 23 Oct 2019 22:06:38 +0000 (18:06 -0400)
committerBruce Momjian <bruce@momjian.us>
Wed, 23 Oct 2019 22:06:38 +0000 (18:06 -0400)
Commit a524f50d0f added
old_11_check_for_sql_identifier_data_type_usage(), but it did not use
the clearer database error list format added to the master branch in
commit 1634d36157.  This commit fixes that.

Backpatch-through: master

src/bin/pg_upgrade/version.c

index b64171d275a38875c7feb939ddce5a7a1150c056..3f7c8c5395b468cc1cfca9a9a101e38e66f7474b 100644 (file)
@@ -540,7 +540,7 @@ old_11_check_for_sql_identifier_data_type_usage(ClusterInfo *cluster)
                                                 strerror(errno));
                        if (!db_used)
                        {
-                               fprintf(script, "Database: %s\n", active_db->db_name);
+                               fprintf(script, "In database: %s\n", active_db->db_name);
                                db_used = true;
                        }
                        fprintf(script, "  %s.%s.%s\n",