sequences and Transactions

Поиск
Список
Период
Сортировка
От Elmar.Haneke@gmx.de
Тема sequences and Transactions
Дата
Msg-id 5FB7AC378C@haneke.de
обсуждение исходный текст
Ответы Re: sequences and Transactions
Список pgsql-general
Hi!

how can I setup sequences to have the current-value reset in case
of an Transaction rollback.

My intension is to get an contignous numbering of the rows.
Currently in case of an Rollback one number is skipped since
the record itself is not inserted but the counter is not reset.

Elmar

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: I'm just doin' the 7.0 RC1 install and have some input on the documentation.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: RE: Revisited: Transactions, insert unique.