Skip to content

Commit 97f5aef

Browse files
Remove lazy_scan_heap parallel VACUUM comment block.
This doesn't belong next to very high level discussion of the tasks that lazy_scan_heap performs. There is already a similar, longer comment block at the top of vacuumlazy.c that mentions lazy_scan_heap directly.
1 parent 282b6d0 commit 97f5aef

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/backend/access/heap/vacuumlazy.c

-12
Original file line numberDiff line numberDiff line change
@@ -886,18 +886,6 @@ heap_vacuum_rel(Relation rel, VacuumParams *params,
886886
* for dead-tuple TIDs, invoke lazy_vacuum to vacuum indexes and vacuum
887887
* heap relation during its own second pass over the heap.
888888
*
889-
* If the table has at least two indexes, we execute both index vacuum
890-
* and index cleanup with parallel workers unless parallel vacuum is
891-
* disabled. In a parallel vacuum, we enter parallel mode and then
892-
* create both the parallel context and the DSM segment before starting
893-
* heap scan so that we can record dead tuples to the DSM segment. All
894-
* parallel workers are launched at beginning of index vacuuming and
895-
* index cleanup and they exit once done with all indexes. At the end of
896-
* this function we exit from parallel mode. Index bulk-deletion results
897-
* are stored in the DSM segment and we update index statistics for all
898-
* the indexes after exiting from parallel mode since writes are not
899-
* allowed during parallel mode.
900-
*
901889
* If there are no indexes then we can reclaim line pointers on the fly;
902890
* dead line pointers need only be retained until all index pointers that
903891
* reference them have been killed.

0 commit comments

Comments
 (0)