summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera2017-07-17 13:51:42 +0000
committerAlvaro Herrera2017-07-22 00:08:53 +0000
commitde38489b926e3e5af84f22cf4788fe4498e13c72 (patch)
treed5a6505e32d6c7c1b7cf9cb4a4ad4f6ad4e85457
parente22efaabf16e3972b91893d89597407d142fb309 (diff)
Fix typo in comment
Commit fd31cd265138 renamed the variable to skipping_blocks, but forgot to update this comment. Noticed while inspecting code.
-rw-r--r--src/backend/commands/vacuumlazy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/commands/vacuumlazy.c b/src/backend/commands/vacuumlazy.c
index 30a0050ae1..fabb2f8d52 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;