Re: undefine currval()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: undefine currval()
Дата
Msg-id 3633.1063056782@sss.pgh.pa.us
обсуждение исходный текст
Ответ на undefine currval()  (Chris Gamache <cgg007@yahoo.com>)
Список pgsql-sql
Chris Gamache <cgg007@yahoo.com> writes:
> One (theoretical) workaround would be to issue some sort of command to the
> back-end database to wipe all values of currval() when a "new" connection is
> made. I've done some digging in the system tables and source code, and can't
> find an obvious solution.

The state involved is in a linked list kept by commands/sequence.c.
Such a command would not be difficult to implement, if you could get
agreement on the syntax to use.
        regards, tom lane


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

Предыдущее
От: Chris Gamache
Дата:
Сообщение: undefine currval()
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: undefine currval()