Re: How should I end a transaction with possibly failed queries?

Поиск
Список
Период
Сортировка
От Sergey Samokhin
Тема Re: How should I end a transaction with possibly failed queries?
Дата
Msg-id e42595410909021308q56c36daek209b06794ca706fe@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How should I end a transaction with possibly failed queries?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Hello!

On Thu, Sep 3, 2009 at 12:01 AM, Tom Lane<tgl@sss.pgh.pa.us>
> If anything failed, COMMIT is interpreted as ROLLBACK anyway.

Tom, thanks for your answer! This means that I will end up with the
first sample which is more elegant and concise than second one!

--
Sergey Samokhin

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How should I end a transaction with possibly failed queries?
Следующее
От: Guillaume Smet
Дата:
Сообщение: Re: [BUGS] psql: FATAL: the database system is in recovery mode