Thread: Re: ANALYZE versus expression indexes with nondefault opckeytype

Re: ANALYZE versus expression indexes with nondefault opckeytype

From
"Kevin Grittner"
Date:
Tom Lane  wrote:
Robert Haas  writes:
>> I guess I'd appreciate it if someone could explain in more detail
>> in what cases we fail to collect stats.
> [detailed description]
> I don't think this can be claimed to be a corner case. If you set
> up an FTS index according to the first alternative offered in
> 
>
http://developer.postgresql.org/pgdocs/postgres/textsearch-tables.html#TEXTSEARCH-TABLES-INDEX
> 
> you will find that the system fails to collect stats for it and so
> you get stupid default estimates for your FTS queries.
Objection to a fix in 9.0 withdrawn.  No opinion on backpatching.
-Kevin