]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
pg_upgrade: Add missing newline to message
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 3 Nov 2023 15:50:25 +0000 (11:50 -0400)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 3 Nov 2023 16:07:40 +0000 (12:07 -0400)
This was the backport of 2e3dc8c148, but in older releases the newline
must be in the message.

src/bin/pg_upgrade/check.c

index c5a3fa747021575ca83e22b0223c80d7fd28d626..6e5dc6b1bee4a84955ca9f846a72e4308a5c7152 100644 (file)
@@ -1156,7 +1156,7 @@ check_for_removed_data_type_usage(ClusterInfo *cluster, const char *version,
 
        if (check_for_data_type_usage(cluster, typename, output_path))
        {
-               pg_log(PG_REPORT, "fatal");
+               pg_log(PG_REPORT, "fatal\n");
                pg_fatal("Your installation contains the \"%s\" data type in user tables.\n"
                                 "The \"%s\" type has been removed in PostgreSQL version %s,\n"
                                 "so this cluster cannot currently be upgraded.  You can drop the\n"