transaction rollbacks on error - Mailing list pgsql-hackers

From Peter Garner
Subject transaction rollbacks on error
Date
Msg-id 199906100645.AA65405506@piglet.toward.com
Whole thread Raw
List pgsql-hackers
Hi all

I hope no one finds this the wrong Mailing List, but I would like to
request/propose a change in PostGres.  (I may even hack this one in
myself if no one objects.)

It seems that ANY error in postgres voids the entire transaction.  I.e.
if an error occurs, one must immediately commit decide to commit or
rollback the current transaction.  No further updates will be accepted
until this is done.  I am almost postive that most commercial databases
do not behave this way.  (I do not think that DB2 does, but I have had
very little to do with other databases since discovering Postgresql! ;-)
At the VERY least it would be nice to have a user option whereby errors
would not affect the current transaction state.



--
===
Peace,
Peter

We are Microsoft of Borg, you will be assimilated!!!
Resistance is fut...  ***BZZZRT***  THUD!!!
[General Protection Fault in MSBorg32.DLL]
Please contact the Vendor of this Borg for more Information

--


pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Foreign Keys
Next
From: Vadim Mikheev
Date:
Subject: Re: [HACKERS] transaction rollbacks on error