postgres.git / summary / log / commit / refs
commit 4e0864af16b5ada4b251fe2dee1060bae81628bf
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 37d2394c11f..1cf84cc1bb5 100644
--- a/src/bin/pg_upgrade/check.c
+++ b/src/bin/pg_upgrade/check.c
@@ -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:"),
[parent: 85cb21df673f]