pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bhuvan A <bhuvansql@yahoo.com>
To: pgsql-sql@postgresql.org
Subject: Re: Sequencing Problem in Transaction..
Date: Tue, 12 Feb 2002 19:10:10 +0530 (IST)
Message-ID: <Pine.LNX.4.20.0202121909070.7267-100000@Larry.bks> (raw)
In-Reply-To: <GNELIHDDFBOCMGBFGEFOAEFKCBAA.chriskl@familyhealth.com.au>



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@postgresql.org
> > [mailto:pgsql-sql-owner@postgresql.org]On Behalf Of Bhuvan A
> > Sent: Tuesday, 12 February 2002 1:26 PM
> > To: pgsql-sql@postgresql.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@postgresql.org)
> >
> 




view thread (5+ messages)  latest in thread

Message-ID: <Pine.LNX.4.20.0202121909070.7267-100000@Larry.bks>
Permalink:  ../Pine.LNX.4.20.0202121909070.7267-100000@Larry.bks/
Also on:    postgresql.org/message-id/Pine.LNX.4.20.0202121909070.7267-100000@Larry.bks

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: bhuvansql@yahoo.com
  Subject: Re: Sequencing Problem in Transaction..
  In-Reply-To: <Pine.LNX.4.20.0202121909070.7267-100000@Larry.bks>
  References: <GNELIHDDFBOCMGBFGEFOAEFKCBAA.chriskl@familyhealth.com.au> <Pine.LNX.4.20.0202121909070.7267-100000@Larry.bks>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox