summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2025-08-07 22:11:33 +0000
committerPeter Eisentraut2025-08-07 22:18:11 +0000
commit7406a7d82c76234f1c6a4f56df2a52d22549767c (patch)
tree4016695f428b3f6b8b32f4b8d020a8211eb26db3
parentf9b09fe63cbc88319de7e15dbcc390775e31d56b (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 48e87c50419..898005c43fd 100644
--- a/src/bin/pg_upgrade/check.c
+++ b/src/bin/pg_upgrade/check.c
@@ -1095,7 +1095,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"