summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2025-08-08 08:47:10 +0200
committerPeter Eisentraut <peter@eisentraut.org>2025-08-08 08:47:10 +0200
commit18d2d8ae42af4d3a73b6ae067dead8663f92afb8 (patch)
tree4ae7f1a4febf20994698af64094dfc6294cc6878
parentd642d23064ea1bf29137336e2a17d1bba988cb41 (diff)
pg_upgrade: Add missing newline in output, another one
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 ae18e04666f..435ec05186d 100644
--- a/src/bin/pg_upgrade/check.c
+++ b/src/bin/pg_upgrade/check.c
@@ -1282,7 +1282,7 @@ check_for_not_null_inheritance(ClusterInfo *cluster)
for (int i = 0; i < ntup; i++)
{
if (script == NULL && (script = fopen_priv(output_path, "w")) == NULL)
- pg_fatal("could not open file \"%s\": %s", output_path, strerror(errno));
+ pg_fatal("could not open file \"%s\": %s\n", output_path, strerror(errno));
if (!db_used)
{
fprintf(script, "In database: %s\n", active_db->db_name);