Re: Rollback on Error - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: Rollback on Error
Date
Msg-id 200409141156.42492.peter_e@gmx.net
Whole thread Raw
In response to Rollback on Error  ("Michael Paesold" <mpaesold@gmx.at>)
Responses Re: Rollback on Error  (Csaba Nagy <nagy@ecircle-ag.com>)
List pgsql-general
Michael Paesold wrote:
> I though the postgres behaviour of rolling back the whole transaction
> was standard?

No.

> If that is not the case, I don't understand why core
> seems to be against a mode (GUC), where an implicit savepoint is
> generated before each statement so that "rollback of the last
> statement" would be possible.

Because it's dangerous in noninteractive mode.  When you send a
transaction to the server, you don't want some statements be left out.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


pgsql-general by date:

Previous
From: Klint Gore
Date:
Subject: logging rule execution?
Next
From: "Michael Paesold"
Date:
Subject: Re: Rollback on Error