postgres.git / summary / log / commit / refs

commit    095e83d0962db87d331cbda7866d08a62a998a5c
Author:   Peter Eisentraut <peter@eisentraut.org>
Date:     Fri Aug 08 06:47:10 2025 +0000
First released in: 13.22, 14.19, 15.14

    pg_upgrade: Add missing newline in output, another one
    
    This came from the backport of commit f295494d338, but older branches
    require the explicit newline in messages (see commit 7652353d87a).


src/bin/pg_upgrade/check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_upgrade/check.c b/src/bin/pg_upgrade/check.c index 4d17ecf8517..a6c8466e01d 100644 --- a/src/bin/pg_upgrade/check.c +++ b/src/bin/pg_upgrade/check.c @@ -1075,7 +1075,7 @@ check_for_not_null_inheritance(ClusterInfo *cluster) for (int i = 0; i < ntup; i++) { if (script == NULL && (script = fopen_priv(output_path, "w")) == NULL) - pg_fatal("could not open file \"%s\": %s", output_path, strerror(errno)); + pg_fatal("could not open file \"%s\": %s\n", output_path, strerror(errno)); if (!db_used) { fprintf(script, "In database: %s\n", active_db->db_name); [parent: b6641f7b0ebc]