Re: Planner regression in 9.1: min(x) cannot use partial index with NOT NULL
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Planner regression in 9.1: min(x) cannot use partial index with NOT NULL |
| Дата | |
| Msg-id | 20968.1300717529@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Planner regression in 9.1: min(x) cannot use partial index with NOT NULL (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: Planner regression in 9.1: min(x) cannot use partial
index with NOT NULL
|
| Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Mar 21, 2011 at 7:17 AM, Marti Raudsepp <marti@juffo.org> wrote:
>> I know that the Merge Append patch required some changes in the
>> min/max optimization, which is probably the cause.
> Yeah, I think this is a direct result of commit
> 034967bdcbb0c7be61d0500955226e1234ec5f04.
Yeah, looks that way. I'm not sure what it would take to re-support
this case without losing the other advantages of the change. Personally
I'm not terribly excited about it: I don't think that suppressing nulls
from an index this way is really very useful. Using a partial index
probably eats more planner cycles than you'll save, overall.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера