Re: transaction error handling - Mailing list pgsql-admin

From Bèrto ëd Sèra
Subject Re: transaction error handling
Date
Msg-id CAKwGa_-LqpPHt-U20eJ2_tz4JWt3ET80d1Z5Ww8t3xTs9yM4FA@mail.gmail.com
Whole thread Raw
In response to Re: transaction error handling  (Kasia Tuszynska <ktuszynska@esri.com>)
List pgsql-admin
Hi

On 30 November 2011 22:30, Kasia Tuszynska <ktuszynska@esri.com> wrote:

With Postgres that is not the case, if the 50th sql statement in a long transaction incurs an error, the whole transaction is rolled back for you automatically, you the developer have no say in that unless you bracket each statement with a savepoint creation and destruction, just to be able to capture the potential error that may arise on that 50th sql statement.

 
Thanks, now I finally got what you meant. 

Bèrto


pgsql-admin by date:

Previous
From: "M. D."
Date:
Subject: Re: Read Only Role
Next
From: Hellmuth Vargas
Date:
Subject: problem with restore: collision id`s lob