Re: SetQuerySnapshot, once again

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: SetQuerySnapshot, once again
Дата
Msg-id 3D0FCC40.BF2123F3@tpf.co.jp
обсуждение исходный текст
Ответ на Re: SetQuerySnapshot, once again  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Ответы Re: SetQuerySnapshot, once again
Список pgsql-hackers
Tom Lane wrote:
> 
> "Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> 
> > I already mentioned an opinion in 2001/09/08.
> >   Both the command counters and the snapshots in a
> >   function should advance except the leading SELECT
> >   statements.
> 
> I do not like the idea of treating the first select in a function
> differently from the rest.  And such a rule wouldn't let you build
> guaranteed-stable functions anyway;

AFAIK there has been no analysis where we can get *stable*
functions. As far as I see, we can expect SELECT-only functions
to be *stable* if and only if they are surrounded by SELECT-only
*stable* functions.

regards, 
Hiroshi Inouehttp://w2422.nsk.ne.jp/~inoue/


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

Предыдущее
От: "Dann Corbit"
Дата:
Сообщение: Re: ECPG won't compile anymore
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: [SQL] date_part