--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