Re: Bad plan when join on function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bad plan when join on function
Дата
Msg-id 21547.1295300024@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bad plan when join on function  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: Bad plan when join on function  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-performance
Pavel Stehule <pavel.stehule@gmail.com> writes:
> it should to work without functional index - but not sure about effectivity

As long as the function is VOLATILE, the planner can't use any
intelligent query plan.  Merge or hash join both require at least
stable join keys.

            regards, tom lane

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Bad plan when join on function
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Bad plan when join on function