diff options
author | Peter Geoghegan | 2022-01-12 22:13:35 +0000 |
---|---|---|
committer | Peter Geoghegan | 2022-01-12 22:13:35 +0000 |
commit | e9b873f667681232469007d755d0c163a63ea978 (patch) | |
tree | 42ba4870f082d46e894645333c52b12954a95a12 /src | |
parent | 6b94e7a6da2f1c6df1a42efe64251f32a444d174 (diff) |
vacuumlazy.c: fix "garbage tuples" reference.
Another minor oversight in commit 4f8d9d12.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/heap/vacuumlazy.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/backend/access/heap/vacuumlazy.c b/src/backend/access/heap/vacuumlazy.c index 5e4a5d0d82c..f8c6c2580af 100644 --- a/src/backend/access/heap/vacuumlazy.c +++ b/src/backend/access/heap/vacuumlazy.c @@ -1898,7 +1898,13 @@ retry: } /* - * Remove the collected garbage tuples from the table and its indexes. + * Main entry point for index vacuuming and heap vacuuming. + * + * Removes items collected in dead_items from table's indexes, then marks the + * same items LP_UNUSED in the heap. See the comments above lazy_scan_heap + * for full details. + * + * Also empties dead_items, freeing up space for later TIDs. * * We may choose to bypass index vacuuming at this point, though only when the * ongoing VACUUM operation will definitely only have one index scan/round of |