summaryrefslogtreecommitdiff
path: root/contrib/bloom/blscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bloom/blscan.c')
-rw-r--r--contrib/bloom/blscan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/bloom/blscan.c b/contrib/bloom/blscan.c
index bf801fe78ff..d072f47fe28 100644
--- a/contrib/bloom/blscan.c
+++ b/contrib/bloom/blscan.c
@@ -116,6 +116,8 @@ blgetbitmap(IndexScanDesc scan, TIDBitmap *tbm)
bas = GetAccessStrategy(BAS_BULKREAD);
npages = RelationGetNumberOfBlocks(scan->indexRelation);
pgstat_count_index_scan(scan->indexRelation);
+ if (scan->instrument)
+ scan->instrument->nsearches++;
for (blkno = BLOOM_HEAD_BLKNO; blkno < npages; blkno++)
{