Re: Unused index influencing sequential scan plan

From: Thom Brown <thom(at)linux(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-performance <pgsql-performance(at)postgresql(dot)org>
Subject: Re: Unused index influencing sequential scan plan
Date: 2012-10-18 16:47:42
Message-ID: CAA-aLv68tNQt0-CR2b3wxqu+D0FUDz+bTVPnE6gE6riKCbXERw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On 18 October 2012 17:44, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Thom Brown <thom(at)linux(dot)com> writes:
>> And as a side note, how come it's impossible to get the planner to use
>> an index-only scan to satisfy the query (disabling sequential and
>> regular index scans)?
>
> Implementation restriction - we don't yet have a way to match index-only
> scans to expressions.

Ah, I suspected it might be, but couldn't find notes on what scenarios
it's yet to be able to work in. Thanks.

--
Thom

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Tom Lane 2012-10-18 16:52:13 Re: Unused index influencing sequential scan plan
Previous Message Thom Brown 2012-10-18 16:46:12 Re: Unused index influencing sequential scan plan