]> 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:07:21 +0000 (20:07 -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 7748b3986b73b040a8fb712e2f366f79411a1b00..c5c194a7a68b00391369e1661892e02d08321653 100644 (file)
@@ -633,8 +633,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;