Thread: GIN vs. statistics collector

GIN vs. statistics collector

From
Andreas Seltenreich
Date:
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

Attachment

Re: GIN vs. statistics collector

From
Tom Lane
Date:
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