Remove extra whitespace in pg_upgrade status message.
authorNathan Bossart <[email protected]>
Wed, 25 Sep 2024 16:18:56 +0000 (11:18 -0500)
committerNathan Bossart <[email protected]>
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 1c277ce17bbe8c38dc93a790c2def925427c9582..c9a3f06b80b6a6722bf227b61b0fe1202de900c6 100644 (file)
@@ -419,7 +419,7 @@ process_data_type_check(DbInfo *dbinfo, PGresult *res, void *arg)
         */
        if (!(*state->result))
        {
-           pg_log(PG_REPORT, "    failed check: %s", _(state->check->status));
+           pg_log(PG_REPORT, "failed check: %s", _(state->check->status));
            appendPQExpBuffer(*state->report, "\n%s\n%s    %s\n",
                              _(state->check->report_text),
                              _("A list of the problem columns is in the file:"),