Re: function side effects

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: function side effects
Дата
Msg-id 1267473390.7837.9.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: function side effects  (Jaime Casanova <jcasanov@systemguards.com.ec>)
Ответы Re: function side effects  (Jaime Casanova <jcasanov@systemguards.com.ec>)
Re: function side effects  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On tis, 2010-02-23 at 16:54 -0500, Jaime Casanova wrote:
> On Tue, Feb 23, 2010 at 2:02 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >
> > There may be some value in inventing a "has no side effects" marker, but
> > that should not be confused with IMMUTABLE/STABLE.
> >
> 
> a READONLY function?

SQL standard:

<SQL-data access indication> ::=
NO SQL
| CONTAINS SQL
| READS SQL DATA
| MODIFIES SQL DATA

Notice also that this is separate from

<deterministic characteristic> ::=
DETERMINISTIC
| NOT DETERMINISTIC

which is the SQL standard's variant of volatility.

So someone has already had the idea that these two should exist
separately.




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: USE_LIBXSLT in MSVC builds
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Re: Hot Standby query cancellation and Streaming Replication integration