Re: Queries joining views

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Queries joining views
Дата
Msg-id 11034.1156276350@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Queries joining views  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I wrote:
> Thanks.  After digging through it a bit, I understand what's happening,
> but I'm not seeing any simple fix.

I forgot to mention that although I could reproduce your bad plan in
8.1, CVS HEAD doesn't fall into the trap.  I don't believe we've done
anything to fix the fundamental problem however --- it may just be a
side effect of the changes in the indexscan cost model that cause it
to not go for the bogus plan.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Queries joining views
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] Queries joining views