]> granicus.if.org Git - postgresql/commitdiff
Fix typo in comment
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 17 Jul 2017 13:51:42 +0000 (09:51 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Sat, 22 Jul 2017 00:08:53 +0000 (20:08 -0400)
Commit fd31cd265138 renamed the variable to skipping_blocks, but forgot
to update this comment.

Noticed while inspecting code.

src/backend/commands/vacuumlazy.c

index 30a0050ae17594ee1ae118166ffac20a556fcec6..fabb2f8d527d0049ff4c490ee5d9dabcd3612c85 100644 (file)
@@ -639,8 +639,7 @@ lazy_scan_heap(Relation onerel, int options, LVRelStats *vacrelstats,
 
                        /*
                         * We know we can't skip the current block.  But set up
-                        * skipping_all_visible_blocks to do the right thing at the
-                        * following blocks.
+                        * skipping_blocks to do the right thing at the following blocks.
                         */
                        if (next_unskippable_block - blkno > SKIP_PAGES_THRESHOLD)
                                skipping_blocks = true;