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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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