BUG #1140: Auto-increment and Rollback

Started by PostgreSQL Bugs Listabout 22 years ago2 messagesbugs
Jump to latest
#1PostgreSQL Bugs List
pgsql-bugs@postgresql.org

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.

#2Bruce Momjian
bruce@momjian.us
In reply to: PostgreSQL Bugs List (#1)
Re: BUG #1140: Auto-increment and Rollback

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