summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-08-08 00:11:33 +0200
committerPeter Eisentraut <peter@eisentraut.org>2025-08-08 00:18:19 +0200
commit22d7833505a50840d0c2f45030408ce827452dc4 (patch)
tree0e3d90b183865458ce4f3cd6196acff8b621c3d0
parent186bc0dfdcb0d4376ffe575bc75a8caf020abbfc (diff)
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).
-rw-r--r--src/bin/pg_upgrade/check.c2
1 files changed, 1 insertions, 1 deletions
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"