Re: Are statistics gathered on function indexes? - Mailing list pgsql-admin

From Tom Lane
Subject Re: Are statistics gathered on function indexes?
Date
Msg-id 2434.1025236776@sss.pgh.pa.us
Whole thread Raw
In response to Re: Are statistics gathered on function indexes?  (Ray Ontko <rayo@ontko.com>)
Responses Re: Are statistics gathered on function indexes?
List pgsql-admin
Ray Ontko <rayo@ontko.com> writes:
> In other words, if I only give one letter, then I might expect
> to get about 1/10 of the table, and a full scan might make sense.
> But the cost should continue to decline as I give longer and longer
> strings, up to the length of the field.
> Would this be a reasonable improvement to the optimizer?

It's there already; what did you think was making the difference
between W% and WI% ?

            regards, tom lane



pgsql-admin by date:

Previous
From: Tim Ellis
Date:
Subject: Dia --> SQL (tedia2sql 0.58 Released
Next
From: Curt Sampson
Date:
Subject: Re: Are statistics gathered on function indexes?