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:35 +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 c14a112ef929769c3eb8454ce084a5d847054ac6..035786747db58252766195af76e19e5719b293a6 100644 (file)
@@ -1155,7 +1155,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"