Re: [HACKERS] transaction rollbacks on error

From: Vadim Mikheev <vadim(at)krs(dot)ru>
To: peter(dot)garner(at)toward(dot)com
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] transaction rollbacks on error
Date: 1999-06-10 10:57:22
Message-ID: 375F9A12.462DAB06@krs.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Garner wrote:
>
> 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.

I'm going to implement savepoints (and _implicit_ savepoints)
in 6.6.

Vadim

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message José Soares 1999-06-10 12:50:57 Re: [HACKERS] transaction rollbacks on error
Previous Message Michael Meskes 1999-06-10 09:40:27 Foreign Keys