Skip site navigation (1) Skip section navigation (2)

Re: BUG #1140: Auto-increment and Rollback

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Emil Tarazi <emil(at)cmu(dot)edu>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1140: Auto-increment and Rollback
Date: 2004-04-19 23:24:40
Message-ID: 200404192324.i3JNOeR05475@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
PostgreSQL Bugs List wrote:
> 
> The following bug has been logged online:
> 
> Bug reference:      1140
> Logged by:          Emil Tarazi
> 
> Email address:      emil(at)cmu(dot)edu
> 
> PostgreSQL version: 7.4
> 
> Operating system:   Linux
> 
> Description:        Auto-increment and Rollback
> 
> Details: 
> 
> If a query is called within a BEGIN-COMMIT/ROLLBACK block that 
> auto-increments some field, a ROLLBACK will not decrement that field. 

Read the FAQ.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-bugs by date

Next:From: Bruno Wolff IIIDate: 2004-04-20 00:57:47
Subject: Re: BUG #1139: Auto-increment and Rollback
Previous:From: PostgreSQL Bugs ListDate: 2004-04-19 23:16:15
Subject: BUG #1139: Auto-increment and Rollback

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group