diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-07-17 09:51:42 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-07-21 20:07:21 -0400 |
commit | afd56b8521c562f7ed20d04159aa597516d74bf5 (patch) | |
tree | b5c97584eff25369edf12e5c3dfa385cafaf745e | |
parent | 0d503dd1ff316882ac4698d7ff1e0bf2a3222cfb (diff) | |
download | postgresql-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.
-rw-r--r-- | src/backend/commands/vacuumlazy.c | 3 |
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; |