Content-Length: 258882 | pFad | http://github.com/postgrespro/postgres/commit/99dd75fb99baa9188971cf47779ed8d7a5e6eb29

76 Reword slightly logs generated for index stats in autovacuum · postgrespro/postgres@99dd75f · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/99dd75fb99baa9188971cf47779ed8d7a5e6eb29

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy