Skip to content

Commit 99dd75f

Browse files
committed
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
1 parent 79f6a94 commit 99dd75f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/access/heap/vacuumlazy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ heap_vacuum_rel(Relation onerel, VacuumParams *params,
703703
continue;
704704

705705
appendStringInfo(&buf,
706-
_("index \"%s\": pages: %u remain, %u newly deleted, %u currently deleted, %u reusable\n"),
706+
_("index \"%s\": pages: %u in total, %u newly deleted, %u currently deleted, %u reusable\n"),
707707
indnames[i],
708708
stats->num_pages,
709709
stats->pages_newly_deleted,

0 commit comments

Comments
 (0)