diff --git a/contrib/bloom/blvacuum.c b/contrib/bloom/blvacuum.c index d2703b02b2..19c010c252 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;