| From: | Larry Rosenman <ler(at)lerctr(dot)org> |
|---|---|
| To: | John Siracusa <siracusa(at)mindspring(dot)com>, Postgres Performance <pgsql-performance(at)postgresql(dot)org> |
| Subject: | Re: Feature request: smarter use of conditional indexes |
| Date: | 2004-03-07 02:39:38 |
| Message-ID: | 32080000.1078627178@lerlaptop.lerctr.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-performance |
--On Saturday, March 06, 2004 21:29:27 -0500 John Siracusa
<siracusa(at)mindspring(dot)com> wrote:
> On 3/3/04 6:53 PM, Tom Lane wrote:
>> John Siracusa <siracusa(at)mindspring(dot)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(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Neil Conway | 2004-03-07 02:50:52 | avg() for timestamp |
| Previous Message | John Siracusa | 2004-03-07 02:29:27 | Re: Feature request: smarter use of conditional indexes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Rod Taylor | 2004-03-07 03:01:22 | Re: Fixed width rows faster? |
| Previous Message | John Siracusa | 2004-03-07 02:29:27 | Re: Feature request: smarter use of conditional indexes |