Re: Unused index influencing sequential scan plan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18 October 2012 18:00, Peter Geoghegan <peter@xxxxxxxxxxxxxxx> wrote:
> On 18 October 2012 17:52, Tom Lane <tgl@xxxxxxxxxxxxx> wrote:
>> I forgot to mention that there is a klugy workaround: add the required
>> variable(s) as extra index columns.  That is,
>>
>>         create index i on t (foo(x), x);
>
> Is there a case to be made for a index access method whose
> pseudo-indexes costs essentially nothing to maintain, and simply
> represent an ongoing obligation for ANALYZE to provide statistics for
> an expression?

Heh, that's pretty much the question I posted just a few seconds ago.
-- 
Thom


-- 
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux