Re: transaction error handling

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: transaction error handling
Дата
Msg-id CAOR=d=2Wv23iA_i740TLvmapwAxNf3N08xDH-yAmS0H31YhP7w@mail.gmail.com
обсуждение исходный текст
Ответ на transaction error handling  (Kasia Tuszynska <ktuszynska@esri.com>)
Список pgsql-admin
On Tue, Nov 29, 2011 at 10:57 AM, Kasia Tuszynska <ktuszynska@esri.com> wrote:
> Postgres:
> Begin transaction
> Insert - no error
> Insert - error raised
> Transaction loss = no implicit rollback to the single error free insert.
>
> Is this a correct interpretation of the Postgres transaction error handling?
> If so, are there any changes being considered, or perhaps already implemented?

You can insert a savepoint explicitly if you wish, but without setting
one, then the whole transaction will be rolled back.

В списке pgsql-admin по дате отправления:

Предыдущее
От: Kasia Tuszynska
Дата:
Сообщение: Re: transaction error handling
Следующее
От: Colin E Busse
Дата:
Сообщение: Use a custom postgresql.conf?