Count contrib/bloom index scans in pgstat view.
authorPeter Geoghegan <[email protected]>
Wed, 13 Nov 2024 01:57:35 +0000 (20:57 -0500)
committerPeter Geoghegan <[email protected]>
Wed, 13 Nov 2024 01:57:35 +0000 (20:57 -0500)
commite493ea866ebb74093b0f5648143635b3f3df1adc
tree8cbd9818e2db0de402c4025a46b74ffbaffb28fa
parent5411e821386ce5c9ec794bbc9540c7c4a1acaa46
Count contrib/bloom index scans in pgstat view.

Maintain the pg_stat_user_indexes.idx_scan pgstat counter during
contrib/Bloom index scans.

Oversight in commit 9ee014fc, which added the Bloom index contrib
module.

Author: Masahiro Ikeda <[email protected]>
Reviewed-By: Peter Geoghegan <[email protected]>
Discussion: https://postgr.es/m/c48839d881388ee401a01807c686004d@oss.nttdata.com
Backpatch: 13- (all supported branches).
contrib/bloom/blscan.c