Re: Stored procedure declared as VOLATILE => no good optimization is done

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Stored procedure declared as VOLATILE => no good optimization is done
Дата
Msg-id 26735.1287196294@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Stored procedure declared as VOLATILE => no good optimization is done  (Tatsuo Ishii <ishii@postgresql.org>)
Ответы Re: Stored procedure declared as VOLATILE => no good optimization is done
Список pgsql-performance
Tatsuo Ishii <ishii@postgresql.org> writes:
> So can I say "if a function is marked IMMUTABLE, then it should never
> modify database"? Is there any counter example?
> It seems if above is correct, I can say STABLE functions should never
> modify databases as well.

Both of those things are explicitly stated here:
http://developer.postgresql.org/pgdocs/postgres/xfunc-volatility.html

            regards, tom lane

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

Предыдущее
От: Navkirat Singh
Дата:
Сообщение: UUID performance as primary key
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: UUID performance as primary key