From: Peter Eisentraut Date: Thu, 7 Aug 2025 22:11:33 +0000 (+0200) Subject: pg_upgrade: Add missing newline in output X-Git-Tag: REL_15_14~14 X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=22d7833505a50840d0c2f45030408ce827452dc4;p=postgresql.git pg_upgrade: Add missing newline in output This came from the backport of commit f295494d338, but older branches require the explicit newline in messages (see commit 7652353d87a). --- diff --git a/src/bin/pg_upgrade/check.c b/src/bin/pg_upgrade/check.c index 321328d9ab9..6fe282d83c9 100644 --- a/src/bin/pg_upgrade/check.c +++ b/src/bin/pg_upgrade/check.c @@ -1302,7 +1302,7 @@ check_for_not_null_inheritance(ClusterInfo *cluster) if (script) { fclose(script); - pg_log(PG_REPORT, "fatal"); + pg_log(PG_REPORT, "fatal\n"); pg_fatal("Your installation contains inconsistent NOT NULL constraints.\n" "If the parent column(s) are NOT NULL, then the child column must\n" "also be marked NOT NULL, or the upgrade will fail.\n"