diff options
author | Peter Geoghegan <pg@bowt.ie> | 2021-02-14 19:28:37 -0800 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2021-02-14 19:28:37 -0800 |
commit | 7cde6b13a9b630e2f04d91e2f17dedc2afee21c6 (patch) | |
tree | ba66e8f40ff0fd4866cb034888fdca3bbee1c330 /src/backend/access/heap/pruneheap.c | |
parent | f900a79ecdc1864a6ead72c97c34a41012227eaf (diff) |
Adjust lazy_scan_heap() accounting comments.
Explain which particular LP_DEAD line pointers get accounted for by the
tups_vacuumed variable.
Diffstat (limited to 'src/backend/access/heap/pruneheap.c')
-rw-r--r-- | src/backend/access/heap/pruneheap.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/access/heap/pruneheap.c b/src/backend/access/heap/pruneheap.c index e3a716a2a2f..8bb38d6406e 100644 --- a/src/backend/access/heap/pruneheap.c +++ b/src/backend/access/heap/pruneheap.c @@ -213,11 +213,12 @@ heap_page_prune_opt(Relation relation, Buffer buffer) * send its own new total to pgstats, and we don't want this delta applied * on top of that.) * + * Sets latestRemovedXid for caller on return. + * * off_loc is the offset location required by the caller to use in error * callback. * - * Returns the number of tuples deleted from the page and sets - * latestRemovedXid. + * Returns the number of tuples deleted from the page during this call. */ int heap_page_prune(Relation relation, Buffer buffer, |