Re: lastval()

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: lastval()
Дата
Msg-id 427EB65E.2080908@samurai.com
обсуждение исходный текст
Ответ на Re: lastval()  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: lastval()
Список pgsql-patches
Tom Lane wrote:
> Why is that a good idea?  In a complex application it'd be awfully easy
> to break logic that depends on such a thing.

True, but I think it offers a usefully concise syntax for simpler
applications. Perhaps the documentation should be amended to mention the
potential risks? (e.g. additional nextval() calls in between the
nextval() you are interested in and the lastval()).

-Neil

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] read-only database
Следующее
От: Neil Conway
Дата:
Сообщение: Re: Added columns to pg_stat_activity