aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2017-07-17 09:51:42 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2017-07-21 20:07:21 -0400
commitafd56b8521c562f7ed20d04159aa597516d74bf5 (patch)
treeb5c97584eff25369edf12e5c3dfa385cafaf745e /src
parent0d503dd1ff316882ac4698d7ff1e0bf2a3222cfb (diff)
downloadpostgresql-afd56b8521c562f7ed20d04159aa597516d74bf5.tar.gz
postgresql-afd56b8521c562f7ed20d04159aa597516d74bf5.zip
Fix typo in comment
Commit fd31cd265138 renamed the variable to skipping_blocks, but forgot to update this comment. Noticed while inspecting code.
Diffstat (limited to 'src')
-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 7748b3986b7..c5c194a7a68 100644
--- a/src/backend/commands/vacuumlazy.c
+++ b/src/backend/commands/vacuumlazy.c
@@ -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;