Re: lastval()

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: lastval()
Дата
Msg-id 42A3B26E.20709@samurai.com
обсуждение исходный текст
Ответ на Re: lastval()  (Dennis Bjorklund <db@zigo.dhs.org>)
Ответы Re: lastval()  (Abhijit Menon-Sen <ams@oryx.com>)
Re: lastval()  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
If you're busy, I can clean this up and apply it.

I wonder if it would be better to have lastval() return the last value
returned by nextval() or setval() for the current session, regardless of
any intervening DROP SEQUENCE commands. This would simplify the
implementation (we can just store the int8 value produced by the last
nextval() / setval() rather than a pointer to the sequence object
itself), although it is debatable whether this behavior is more logical
or not. Comments?

-Neil

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

Предыдущее
От: "Qingqing Zhou"
Дата:
Сообщение: Re: Simplify Win32 Signaling code
Следующее
От: Abhijit Menon-Sen
Дата:
Сообщение: Re: lastval()