Re: Interesting case of IMMUTABLE significantly hurting performance

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Interesting case of IMMUTABLE significantly hurting performance
Дата
Msg-id 520B000C.2030104@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Interesting case of IMMUTABLE significantly hurting performance  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-performance
On 08/14/2013 11:52 AM, Pavel Stehule wrote:
>
> If I understand, a used IMMUTABLE flag disables inlining. What you see,
> is SQL eval overflow.
>
> My rule is - don't use flags in SQL functions, when it is possible.

Interesting. I knew that was the case for STRICT, but am surprised to
hear it's the case for IMMUTABLE as well. That seems ...
counter-intuitive. Not to mention undocumented as far as I can see.

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Interesting case of IMMUTABLE significantly hurting performance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Interesting case of IMMUTABLE significantly hurting performance