>> BTW, gincostestimate could use that information for cost estimation, but is
>> index opening and metapge reading in amcostestimate acceptable?
>
> That sounds reasonable to me. I think that's what the index-specific
> cost estimators are for.
Done.
> Do you expect a performance impact?
I'm afraid for that and will test tomorrow. But statistic from index is exact.
--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/