diff options
Diffstat (limited to 'contrib/bloom/blscan.c')
-rw-r--r-- | contrib/bloom/blscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/bloom/blscan.c b/contrib/bloom/blscan.c index 0c954dc8d55..316a906734b 100644 --- a/contrib/bloom/blscan.c +++ b/contrib/bloom/blscan.c @@ -135,7 +135,7 @@ blgetbitmap(IndexScanDesc scan, TIDBitmap *tbm) page = BufferGetPage(buffer); TestForOldSnapshot(scan->xs_snapshot, scan->indexRelation, page); - if (!BloomPageIsDeleted(page)) + if (!PageIsNew(page) && !BloomPageIsDeleted(page)) { OffsetNumber offset, maxOffset = BloomPageGetMaxOffset(page); |