Re: functions marked STABLE not allowed to do INSERT

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: functions marked STABLE not allowed to do INSERT
Дата
Msg-id c2d9e70e0511140709g40275546ubb721304356bc19c@mail.gmail.com
обсуждение исходный текст
Ответ на functions marked STABLE not allowed to do INSERT  (Tino Wildenhain <tino@wildenhain.de>)
Список pgsql-hackers
On 11/14/05, Tino Wildenhain <tino@wildenhain.de> wrote:
> New in 8.1 it seems functions marked STABLE are
> not allowed to have any INSERT statement in them.
>

this is not new, always was said that SATBLE and IMMUTABLE functions
must not modify the database. But beginning with 8.0.0 these kind of
thing are checked at compile time.

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)


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

Предыдущее
От: Tino Wildenhain
Дата:
Сообщение: functions marked STABLE not allowed to do INSERT
Следующее
От: Tom Lane
Дата:
Сообщение: Should a plan node's result tuple slot be read-only to caller?