aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2016-04-02 18:36:46 +0300
committerTeodor Sigaev <teodor@sigaev.ru>2016-04-02 18:38:16 +0300
commit9c50372d20aabdb23963f8d28651728d546acefb (patch)
tree1f80153fc0c786a26758c43c28060a43e57bdf3f
parent62b5cd234ba982f71f2501f405a26ed80c92a229 (diff)
downloadpostgresql-9c50372d20aabdb23963f8d28651728d546acefb.tar.gz
postgresql-9c50372d20aabdb23963f8d28651728d546acefb.zip
Fix condition in e9e441c9fac6cbc0510cded6abb9d0e6b646ecaf
Comment is right, but if - not.
-rw-r--r--contrib/bloom/blvacuum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bloom/blvacuum.c b/contrib/bloom/blvacuum.c
index d2703b02b2c..19c010c2524 100644
--- a/contrib/bloom/blvacuum.c
+++ b/contrib/bloom/blvacuum.c
@@ -112,7 +112,7 @@ blbulkdelete(IndexVacuumInfo *info, IndexBulkDeleteResult *stats,
* Add page to notFullPage list if we will not mark page as deleted and
* there is a free space on it
*/
- if (BloomPageGetMaxOffset(page) == 0 &&
+ if (BloomPageGetMaxOffset(page) != 0 &&
BloomPageGetFreeSpace(&state, page) > state.sizeOfBloomTuple &&
countPage < BloomMetaBlockN)
notFullPage[countPage++] = blkno;