Re: lastval()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: lastval()
Дата
Msg-id 13945.1115591809@sss.pgh.pa.us
обсуждение исходный текст
Ответ на lastval()  (Dennis Bjorklund <db@zigo.dhs.org>)
Ответы Re: lastval()  (Neil Conway <neilc@samurai.com>)
Re: lastval()  (Dennis Bjorklund <db@zigo.dhs.org>)
Список pgsql-patches
Dennis Bjorklund <db@zigo.dhs.org> writes:
> Here is a small patch that implements a function lastval() that
> works just like currval() except that it give the current
> value of the last sequence used by nextval().

Why is that a good idea?  In a complex application it'd be awfully easy
to break logic that depends on such a thing.

            regards, tom lane

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

Предыдущее
От: Dennis Bjorklund
Дата:
Сообщение: lastval()
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Blob .getBytes position should start at 1