Re: Sequencing Problem in Transaction.. - Mailing list pgsql-sql

From Stephan Szabo
Subject Re: Sequencing Problem in Transaction..
Date
Msg-id 20020211221922.S88298-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Sequencing Problem in Transaction..  (Bhuvan A <bhuvansql@yahoo.com>)
List pgsql-sql
On Tue, 12 Feb 2002, Bhuvan A wrote:

>
> Dear All,
>
> In postgresql 7.1, there is a problem in sequence.
>
> While rollbacking in transaction mode, the sequences are not actually
> getting rolled back. This problem is still there in 7.2, it seems!
>

Probably never, this is the intented behavior. If rollbacks rolled the
sequences back then you'd have to wait for the first transaction to
rollback or commit before giving the number out to a second transaction
running at the same time (thus you'd effectively be limited to a single
concurrent inserting transaction for most uses of sequences)



pgsql-sql by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: Sequencing Problem in Transaction..
Next
From: "Unnikrishnan Menon"
Date:
Subject: Re: Oracle "Jobs" in PostgreSQL