Re: transaction bug with sequences ?

Поиск
Список
Период
Сортировка
От xoror@infuse.org
Тема Re: transaction bug with sequences ?
Дата
Msg-id Pine.GSO.4.10.10203141247400.1018-100000@aries
обсуждение исходный текст
Ответ на transaction bug with sequences ?  (xoror@infuse.org)
Ответы Re: transaction bug with sequences ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-odbc
damn, the sequence in transactions is now also giving me problems in
pgsql. so this might be a pgsql bug (?) afterall ? or dit i miss something
here...

BEGIN TRANSACTION;
select nextval('some_id_seq');
ROLLBACK;

BEGIN TRANSACTION;
select nextval('some_id_seq');
ROLLBACK;

BEGIN TRANSACTION;
select nextval('some_id_seq');
ROLLBACK;

BEGIN TRANSACTION;
select nextval('some_id_seq');
ROLLBACK;


the sequence value is incremented, but this shouldn't be the case because
i cancelled the transaction.


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

Предыдущее
От: xoror@infuse.org
Дата:
Сообщение: transaction bug with sequences ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: transaction bug with sequences ?