]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Count contrib/bloom index scans in pgstat view.
authorPeter Geoghegan <pg@bowt.ie>
Wed, 13 Nov 2024 01:57:43 +0000 (20:57 -0500)
committerPeter Geoghegan <pg@bowt.ie>
Wed, 13 Nov 2024 01:57:43 +0000 (20:57 -0500)
commit7af6d13061ee00924f555bcb77bb2499f1aa03f8
treea317bf0bee3024bb7092a9aebc7567d7a26d6076
parenta6fa869cfa4e8f0226f22f717f5b0aa5eed60588
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).
contrib/bloom/blscan.c