postgres.git / summary / log / commit / refs
commit 2ceeb638b7b27da156c10cb9d5ea4f81cabda0d1
Author: Nathan Bossart <nathan@postgresql.org>
Date: Wed Sep 25 16:18:56 2024 +0000
First released in: 18.0, 17.1
Remove extra whitespace in pg_upgrade status message.
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/bin/pg_upgrade/check.c b/src/bin/pg_upgrade/check.c
index 1c277ce17bb..c9a3f06b80b 100644
--- a/src/bin/pg_upgrade/check.c
+++ b/src/bin/pg_upgrade/check.c
@@ -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:"),
[parent: dce507356a4a]