Re: BUG #15797: Wrong Execution Plan

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15797: Wrong Execution Plan
Дата
Msg-id 536.1557459173@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #15797: Wrong Execution Plan  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
> Theres is a difference of the plan generated just only by putting the
> filters inside a inner query or outside a inner query.

You do realize that moving that WHERE clause changes the semantics
of the window functions?  The planner can't freely change the
filter location from one to the other.

            regards, tom lane



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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #15797: Wrong Execution Plan
Следующее
От: Amit Langote
Дата:
Сообщение: Re: inconsistent results querying table partitioned by date