Count contrib/bloom index scans in pgstat view.

Peter Geoghegan <pg@bowt.ie>

Commit: 2a30b6836db40416abb0f6307aefa5d1562b022d
Author: Peter Geoghegan <pg@bowt.ie>
Date: 2024-11-13T01:57:37Z
Releases: 14.15
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 <ikedamsh@oss.nttdata.com>
Reviewed-By: Peter Geoghegan <pg@bowt.ie>
Discussion: https://postgr.es/m/c48839d881388ee401a01807c686004d@oss.nttdata.com
Backpatch: 13- (all supported branches).

Files

PathChange+/−
contrib/bloom/blscan.c modified +1 −0

Discussion