Re: Constraint exclusion oddity with composite index

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Constraint exclusion oddity with composite index
Дата
Msg-id 23243.1180730823@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Constraint exclusion oddity with composite index  ("Joshua D. Drake" <jd@commandprompt.com>)
Ответы Re: Constraint exclusion oddity with composite index  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-hackers
"Joshua D. Drake" <jd@commandprompt.com> writes:
> Assume the following:
> index on: (id, adate)
> constraint CHECK(adate > '01-01-2007' AND adate < '04-01-2007');

> The planner will not use the index listed above.

For what?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Command tags in create/drop scripts
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Constraint exclusion oddity with composite index