Re: BUG #7785: Bad plan for UNION ALL view containing JOIN

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #7785: Bad plan for UNION ALL view containing JOIN
Дата
Msg-id 21511.1357320644@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #7785: Bad plan for UNION ALL view containing JOIN  (dag@nimrod.no)
Список pgsql-bugs
dag@nimrod.no writes:
> The test case below demonstrates that the planner pushes down the WHERE (ON)
> clause in a UNION ALL view, but fails to push down the WHERE (ON) clause
> when a JOIN clause is introduced in the view.

> Any simple fix? :-)

No.

(See is_safe_append_member() for why not.)

            regards, tom lane

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: BUG #7781: pgagent incorrect installation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #7786: select from view is computing columns not selected