diff --git a/contrib/bloom/blscan.c b/contrib/bloom/blscan.c index 3c71401c8c..9198c56315 100644 --- a/contrib/bloom/blscan.c +++ b/contrib/bloom/blscan.c @@ -121,6 +121,7 @@ blgetbitmap(IndexScanDesc scan, TIDBitmap *tbm) */ bas = GetAccessStrategy(BAS_BULKREAD); npages = RelationGetNumberOfBlocks(scan->indexRelation); + pgstat_count_index_scan(scan->indexRelation); for (blkno = BLOOM_HEAD_BLKNO; blkno < npages; blkno++) {