summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2021-05-27 17:09:16 -0700
committerPeter Geoghegan <pg@bowt.ie>2021-05-27 17:09:16 -0700
commit9afdea982420f9672b88e5c17d1ee8eec64105fc (patch)
treec3359776ea98ad666ec8cd4bf2f67ea5fd93b954 /src
parenta4390abecf0f5152cff864e82b67e5f6c8489698 (diff)
Fix VACUUM VERBOSE's LP_DEAD item pages output.
Oversight in commit 5100010e.
Diffstat (limited to 'src')
-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 fe18af61b37..ad3feb88b3b 100644
--- a/src/backend/access/heap/vacuumlazy.c
+++ b/src/backend/access/heap/vacuumlazy.c
@@ -2153,7 +2153,7 @@ lazy_vacuum(LVRelState *vacrel, bool onecall)
vacrel->do_index_vacuuming = false;
ereport(elevel,
(errmsg("\"%s\": index scan bypassed: %u pages from table (%.2f%% of total) have %lld dead item identifiers",
- vacrel->relname, vacrel->rel_pages,
+ vacrel->relname, vacrel->lpdead_item_pages,
100.0 * vacrel->lpdead_item_pages / vacrel->rel_pages,
(long long) vacrel->lpdead_items)));
}