Re: Feature request: smarter use of conditional indexes

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: Feature request: smarter use of conditional indexes
Дата
Msg-id 32080000.1078627178@lerlaptop.lerctr.org
обсуждение исходный текст
Ответ на Re: Feature request: smarter use of conditional indexes  (John Siracusa <siracusa@mindspring.com>)
Ответы Re: Feature request: smarter use of conditional indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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

Вложения

В списке pgsql-performance по дате отправления:

Предыдущее
От: John Siracusa
Дата:
Сообщение: Re: Feature request: smarter use of conditional indexes
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: Fixed width rows faster?