You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by ma...@apache.org on 2025/03/03 07:50:06 UTC
(cloudberry) 01/07: pg_upgrade: clarify the database names in error files
This is an automated email from the ASF dual-hosted git repository.
maxyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
commit 169199de8e54c1f8b08c0b8467a2d66eb308f8ec
Author: Bruce Momjian <br...@momjian.us>
AuthorDate: Tue Oct 8 22:16:48 2019 -0400
pg_upgrade: clarify the database names in error files
Note: Same change made to version_gp.c
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
(cherry picked from commit 1634d361577aab30c7d90336c96b969a2f5e5811)
---
src/bin/pg_upgrade/greenplum/version_gp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/pg_upgrade/greenplum/version_gp.c b/src/bin/pg_upgrade/greenplum/version_gp.c
index 9521dbeb82..f9296041ce 100644
--- a/src/bin/pg_upgrade/greenplum/version_gp.c
+++ b/src/bin/pg_upgrade/greenplum/version_gp.c
@@ -158,7 +158,7 @@ old_GPDB5_check_for_unsupported_distribution_key_data_types(void)
output_path, 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",
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org