Re: savepoint improvements - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: savepoint improvements
Date
Msg-id 1169482957.3776.349.camel@silverbirch.site
Whole thread Raw
In response to Re: savepoint improvements  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
On Mon, 2007-01-22 at 16:11 +0000, Gregory Stark wrote:
> "Simon Riggs" <simon@2ndquadrant.com> writes:
> 
> > BEGIN;
> > stmt1;
> > stmt2; <-- error
> > stmt3;
> > COMMIT;
> >
> > results in stmt3 completing successfully even though stmt1 and stmt2 do
> > not == broken script.
> 
> stmt1 would still be completed successfully.

OK, understood. ON_ERROR_ROLLBACK is what we need, for psql only.

--  Simon Riggs              EnterpriseDB   http://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: savepoint improvements
Next
From: "Merlin Moncure"
Date:
Subject: Re: savepoint improvements