Re: transaction error handling

Поиск
Список
Период
Сортировка
От Bèrto ëd Sèra
Тема Re: transaction error handling
Дата
Msg-id CAKwGa_-LqpPHt-U20eJ2_tz4JWt3ET80d1Z5Ww8t3xTs9yM4FA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: transaction error handling  (Kasia Tuszynska <ktuszynska@esri.com>)
Список 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 по дате отправления:

Предыдущее
От: "M. D."
Дата:
Сообщение: Re: Read Only Role
Следующее
От: Hellmuth Vargas
Дата:
Сообщение: problem with restore: collision id`s lob