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"