Thread: pgsql: Count contrib/bloom index scans in pgstat view.

pgsql: Count contrib/bloom index scans in pgstat view.

From
Peter Geoghegan
Date:
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).

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7af6d13061ee00924f555bcb77bb2499f1aa03f8

Modified Files
--------------
contrib/bloom/blscan.c | 1 +
1 file changed, 1 insertion(+)