Count contrib/bloom index scans in pgstat view.
authorPeter Geoghegan <[email protected]>
Wed, 13 Nov 2024 01:57:37 +0000 (20:57 -0500)
committerPeter Geoghegan <[email protected]>
Wed, 13 Nov 2024 01:57:37 +0000 (20:57 -0500)
commit2a30b6836db40416abb0f6307aefa5d1562b022d
tree534c5ac092c7a89ed4f7a5c5adf99a5dd6ef4a27
parent247e7647f598d541775a77057df15fd32651566a
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