aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-03-24 09:36:03 +0900
committerMichael Paquier <michael@paquier.xyz>2021-03-24 09:36:03 +0900
commit99dd75fb99baa9188971cf47779ed8d7a5e6eb29 (patch)
tree4801044feedabfd6648ce32fcbdd605593b7a661
parent79f6a942bdb958fbd7ef6870d5bf2e3cefb65da5 (diff)
downloadpostgresql-99dd75fb99baa9188971cf47779ed8d7a5e6eb29.tar.gz
postgresql-99dd75fb99baa9188971cf47779ed8d7a5e6eb29.zip
Reword slightly logs generated for index stats in autovacuum
Using "remain" is confusing, as it implies that the index file can shrink. Instead, use "in total". Per discussion with Peter Geoghegan. Discussion: https://postgr.es/m/CAH2-WzkYgHZzpGOwR14CScJsjaQpvJrEkEfkh_=wGhzLb=yVdQ@mail.gmail.com
-rw-r--r--src/backend/access/heap/vacuumlazy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/heap/vacuumlazy.c b/src/backend/access/heap/vacuumlazy.c
index ef9186ba7ca..efe8761702d 100644
--- a/src/backend/access/heap/vacuumlazy.c
+++ b/src/backend/access/heap/vacuumlazy.c
@@ -703,7 +703,7 @@ heap_vacuum_rel(Relation onerel, VacuumParams *params,
continue;
appendStringInfo(&buf,
- _("index \"%s\": pages: %u remain, %u newly deleted, %u currently deleted, %u reusable\n"),
+ _("index \"%s\": pages: %u in total, %u newly deleted, %u currently deleted, %u reusable\n"),
indnames[i],
stats->num_pages,
stats->pages_newly_deleted,