Re: How should I deal with disconnects during insert?

Поиск
Список
Период
Сортировка
От David Wilson
Тема Re: How should I deal with disconnects during insert?
Дата
Msg-id e7f9235d0905201345x74b9370ej332301d54fbdebfa@mail.gmail.com
обсуждение исходный текст
Ответ на How should I deal with disconnects during insert?  (Sergey Samokhin <prikrutil@gmail.com>)
Список pgsql-general
On Wed, May 20, 2009 at 4:41 PM, Sergey Samokhin <prikrutil@gmail.com> wrote:

> Is there a way to do #1 (it's a bit cleaner and simpler to implement)?

You could wrap the whole thing in a transaction. If you don't get to
the commit, the whole transaction should roll back.

--
- David T. Wilson
david.t.wilson@gmail.com

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

Предыдущее
От: Sergey Samokhin
Дата:
Сообщение: How should I deal with disconnects during insert?
Следующее
От: Sam Mason
Дата:
Сообщение: Re: How should I deal with disconnects during insert?