vacuumlazy.c: fix "garbage tuples" reference.
authorPeter Geoghegan <pg@bowt.ie>
Wed, 12 Jan 2022 22:13:35 +0000 (14:13 -0800)
committerPeter Geoghegan <pg@bowt.ie>
Wed, 12 Jan 2022 22:13:35 +0000 (14:13 -0800)
Another minor oversight in commit 4f8d9d12.

src/backend/access/heap/vacuumlazy.c

index 5e4a5d0d82cfd808876370630eb5d648abeb7e06..f8c6c2580af2629c8f99f0c5c4a224d35a18ae6f 100644 (file)
@@ -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