From: Alvaro Herrera Date: Mon, 17 Jul 2017 13:51:42 +0000 (-0400) Subject: Fix typo in comment X-Git-Tag: REL_10_BETA3~92 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=de38489b926e3e5af84f22cf4788fe4498e13c72;p=thirdparty%2Fpostgresql.git Fix typo in comment Commit fd31cd265138 renamed the variable to skipping_blocks, but forgot to update this comment. Noticed while inspecting code. --- diff --git a/src/backend/commands/vacuumlazy.c b/src/backend/commands/vacuumlazy.c index 30a0050ae17..fabb2f8d527 100644 --- a/src/backend/commands/vacuumlazy.c +++ b/src/backend/commands/vacuumlazy.c @@ -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;