Re: transaction bug with sequences ? - Mailing list pgsql-odbc

From xoror@infuse.org
Subject Re: transaction bug with sequences ?
Date
Msg-id Pine.GSO.4.10.10203141247400.1018-100000@aries
Whole thread Raw
In response to transaction bug with sequences ?  (xoror@infuse.org)
Responses Re: transaction bug with sequences ?
List 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 by date:

Previous
From: xoror@infuse.org
Date:
Subject: transaction bug with sequences ?
Next
From: Tom Lane
Date:
Subject: Re: transaction bug with sequences ?