Re: why VOLATILE attribute is required?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: why VOLATILE attribute is required?
Дата
Msg-id 17877.1316700338@sss.pgh.pa.us
обсуждение исходный текст
Ответ на why VOLATILE attribute is required?  (Rafal Pietrak <rafal@zorro.isa-geek.com>)
Список pgsql-general
Rafal Pietrak <rafal@zorro.isa-geek.com> writes:
> but I get:
> ERROR:  ALTER ROLE is not allowed in a non-volatile function
> Why???

Because non-volatile means, among other things, "this function has no
side effects".

            regards, tom lane

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