Re: Seq scan on zero-parameters function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Seq scan on zero-parameters function
Дата
Msg-id 29560.1076079328@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Seq scan on zero-parameters function  (Richard Huxton <dev@archonet.com>)
Список pgsql-performance
Richard Huxton <dev@archonet.com> writes:
> It's not entirely clear to me why this form is different from the other form
> though.

The code that checks for expressions containing unstable functions
doesn't look inside sub-selects.  Arguably this is a bug, but people
were relying on that behavior way back before we had these nice
STABLE/IMMUTABLE tags for functions.  I'm hesitant to change it for
fear of breaking people's apps.

            regards, tom lane

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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: 7.3 vs 7.4 performance
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Increase performance of a UNION query that thakes 655.07 msec to be runned ?