Re: Question on STABLE functions limitations

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Question on STABLE functions limitations
Дата
Msg-id 19012.1287411508@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Question on STABLE functions limitations  ("Marc Mamin" <M.Mamin@intershop.de>)
Список pgsql-general
"Marc Mamin" <M.Mamin@intershop.de> writes:
> I wonder if there are some special cases where STABLE functions should
> be avoided.

> I think for example of functions using set_config or querying the
> advisory locks.

set_config has side-effects and hence should not be done in non-volatile
functions.

            regards, tom lane

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

Предыдущее
От: Josh Kupershmidt
Дата:
Сообщение: Re: How to change pg_trigger query so that it works in 9.0 without pg_trigger.tgisconstraint does not exist error
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: Question on STABLE functions limitations