Re: problem with volatile functions in subselects ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: problem with volatile functions in subselects ?
Дата
Msg-id 8468.1155509464@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: problem with volatile functions in subselects ?  ("Jaime Casanova" <systemguards@gmail.com>)
Ответы Re: problem with volatile functions in subselects ?  ("Jaime Casanova" <systemguards@gmail.com>)
Re: problem with volatile functions in subselects ?  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
"Jaime Casanova" <systemguards@gmail.com> writes:
>>> There's been some talk about prohibiting flattening if there are any
>>> volatile functions in the subselect's targetlist, but nothing's been
>>> done about that.

> BTW, can you think in a good name for a GUC for this?

I'm not in favor of a GUC for this; we should either do it or not.

If we do it, basically the response to anyone who complains about loss
of performance should be "fix your function to be marked stable or
immutable, as appropriate".
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] Adding fulldisjunctions to the contrib
Следующее
От: Tom Lane
Дата:
Сообщение: Re: segfault on rollback