projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4390ab
)
Fix VACUUM VERBOSE's LP_DEAD item pages output.
author
Peter Geoghegan
<pg@bowt.ie>
Fri, 28 May 2021 00:09:16 +0000
(17:09 -0700)
committer
Peter Geoghegan
<pg@bowt.ie>
Fri, 28 May 2021 00:09:16 +0000
(17:09 -0700)
Oversight in commit
5100010e
.
src/backend/access/heap/vacuumlazy.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/heap/vacuumlazy.c
b/src/backend/access/heap/vacuumlazy.c
index fe18af61b3739207e6ae65164f99cb63410a1fdb..ad3feb88b3be994507bcdd1c8f69d0aaa5e4b257 100644
(file)
--- 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)));
}