1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-27 00:12:01 +03:00

pg_upgrade: Add missing newline in output

This came from the backport of commit f295494d33, but older branches
require the explicit newline in messages (see commit 7652353d87).
This commit is contained in:
Peter Eisentraut
2025-08-08 00:11:33 +02:00
parent fe966e886c
commit f9f6595e31

View 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"