]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
pg_upgrade: Add missing newline in output
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 7 Aug 2025 22:11:33 +0000 (00:11 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 7 Aug 2025 22:18:15 +0000 (00:18 +0200)
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

index 32925fef1907e8cbe71a02eeb7a0c1054f8aed0a..9538cf103dee2d47d3f6524e3af3b0bdaa0a31df 100644 (file)
@@ -1275,7 +1275,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"