Re: Sequencing Problem in Transaction..

From: Bhuvan A <bhuvansql(at)yahoo(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Sequencing Problem in Transaction..
Date: 2002-02-12 13:40:10
Message-ID: Pine.LNX.4.20.0202121909070.7267-100000@Larry.bks
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Feb 12, Christopher Kings-Lynne wrote:

> Ummm...this is not a bug - it is utterly essential that sequences are not
> rolled back!!!
>
> Think about this:
>
> Sequence counter is 9
> Transaction 1 gets sequence no. 10
> Transaction 2 gets sequence no. 11
> transaction 1 rolls back, sequence no. reset to 9
> Transaction 3 gets sequence number 10
> Transaction 4 gets sequence number 11 - BAM!!!
>
Good and Thankx!!!

Regards,
Bhuvaneswar.

> Chris
>
> > -----Original Message-----
> > From: pgsql-sql-owner(at)postgresql(dot)org
> > [mailto:pgsql-sql-owner(at)postgresql(dot)org]On Behalf Of Bhuvan A
> > Sent: Tuesday, 12 February 2002 1:26 PM
> > To: pgsql-sql(at)postgresql(dot)org
> > Subject: [SQL] Sequencing Problem in Transaction..
> >
> >
> >
> > 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!
> >
> > When they planned to fix this? Any idea?
> >
> > With Regards,
> > Bhuvaneswaran.
> >
> >
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 2: you can get off all lists at once with the unregister command
> > (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
> >
>

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Jean-Max Reymond 2002-02-12 15:45:55 SQL request to retrieve the type of columns
Previous Message Unnikrishnan Menon 2002-02-12 06:56:06 Re: Oracle "Jobs" in PostgreSQL