]> 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:19 +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 321328d9ab93cf163f31f2a2601aa158eda87cc0..6fe282d83c9262a48d1d0e822c7e5de7e5bd0bf1 100644 (file)
@@ -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"