Re: Feature request: smarter use of conditional indexes - Mailing list pgsql-performance

From Larry Rosenman
Subject Re: Feature request: smarter use of conditional indexes
Date
Msg-id 32080000.1078627178@lerlaptop.lerctr.org
Whole thread Raw
In response to Re: Feature request: smarter use of conditional indexes  (John Siracusa <siracusa@mindspring.com>)
Responses Re: Feature request: smarter use of conditional indexes
List pgsql-performance

--On Saturday, March 06, 2004 21:29:27 -0500 John Siracusa
<siracusa@mindspring.com> wrote:

> On 3/3/04 6:53 PM, Tom Lane wrote:
>>  John Siracusa <siracusa@mindspring.com> writes:
>>>  Given an index like this:
>>>      CREATE UNIQUE INDEX i1 ON t1 (c1) WHERE c1 IS NOT NULL;
>>>  and a query like this:
>>>      SELECT * FROM t1 WHERE c1 = 123;
>>>  I'd like the planner to be smart enough to use an index scan using
>>> i1.
>>
>>  Send a patch ;-)
Just a suggestion, please use diff -c format, as it makes it easier for
the folks who apply the patches to do so.
[snip]


--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

Attachment

pgsql-performance by date:

Previous
From: John Siracusa
Date:
Subject: Re: Feature request: smarter use of conditional indexes
Next
From: Rod Taylor
Date:
Subject: Re: Fixed width rows faster?