Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit de38489

Browse files
committed
Fix typo in comment
Commit fd31cd2 renamed the variable to skipping_blocks, but forgot to update this comment. Noticed while inspecting code.
1 parent e22efaa commit de38489

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/commands/vacuumlazy.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -639,8 +639,7 @@ lazy_scan_heap(Relation onerel, int options, LVRelStats *vacrelstats,
639639

640640
/*
641641
* We know we can't skip the current block. But set up
642-
* skipping_all_visible_blocks to do the right thing at the
643-
* following blocks.
642+
* skipping_blocks to do the right thing at the following blocks.
644643
*/
645644
if (next_unskippable_block - blkno > SKIP_PAGES_THRESHOLD)
646645
skipping_blocks = true;

0 commit comments

Comments
 (0)