Thread: BUG #1140: Auto-increment and Rollback

BUG #1140: Auto-increment and Rollback

From
"PostgreSQL Bugs List"
Date:
The following bug has been logged online:

Bug reference:      1140
Logged by:          Emil Tarazi

Email address:      emil@cmu.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.

Re: BUG #1140: Auto-increment and Rollback

From
Bruce Momjian
Date:
PostgreSQL Bugs List wrote:
>
> The following bug has been logged online:
>
> Bug reference:      1140
> Logged by:          Emil Tarazi
>
> Email address:      emil@cmu.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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073