From: Teodor Sigaev Date: Sat, 2 Apr 2016 15:36:46 +0000 (+0300) Subject: Fix condition in e9e441c9fac6cbc0510cded6abb9d0e6b646ecaf X-Git-Tag: REL9_6_BETA1~307 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=9c50372d20aabdb23963f8d28651728d546acefb;p=postgresql.git Fix condition in e9e441c9fac6cbc0510cded6abb9d0e6b646ecaf Comment is right, but if - not. --- 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;