GIN vs. statistics collector

Started by Andreas Seltenreichover 19 years ago2 messageshackers
Jump to latest
#1Andreas Seltenreich
seltenreich@gmx.de

I think there's a call to pgstat_count_index_scan missing in GIN.
Currently, the idx_scan column of pg_stat_*_indexes is stuck at zero
for GIN indexes.

Patch attached.

Thanks,
andreas

Attachments:

ginscan.difftext/x-patchDownload+3-0
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Andreas Seltenreich (#1)
Re: GIN vs. statistics collector

Andreas Seltenreich <andreas+pg@gate450.dyndns.org> writes:

I think there's a call to pgstat_count_index_scan missing in GIN.
Currently, the idx_scan column of pg_stat_*_indexes is stuck at zero
for GIN indexes.
Patch attached.

Looks correct to me --- applied.

regards, tom lane