]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Remove extra whitespace in pg_upgrade status message.
authorNathan Bossart <nathan@postgresql.org>
Wed, 25 Sep 2024 16:18:56 +0000 (11:18 -0500)
committerNathan Bossart <nathan@postgresql.org>
Wed, 25 Sep 2024 16:18:56 +0000 (11:18 -0500)
There's no need to add another level of indentation to this status
message.  pg_log() will put it in the right place.

Oversight in commit 347758b120.

Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/ZunW7XHLd2uTts4f%40nathan
Backpatch-through: 17

src/bin/pg_upgrade/check.c

index 37d2394c11f5fc213d638bbb43306a48f5fe680a..1cf84cc1bb5e37df2129e490c9b677b63ff96ac9 100644 (file)
@@ -477,7 +477,7 @@ check_for_data_types_usage(ClusterInfo *cluster, DataTypesUsageChecks *checks)
                                 */
                                if (!results[checknum])
                                {
-                                       pg_log(PG_REPORT, "    failed check: %s", _(cur_check->status));
+                                       pg_log(PG_REPORT, "failed check: %s", _(cur_check->status));
                                        appendPQExpBuffer(&report, "\n%s\n%s    %s\n",
                                                                          _(cur_check->report_text),
                                                                          _("A list of the problem columns is in the file:"),