Re: Recovering from failed transaction

Поиск
Список
Период
Сортировка
От Brian Crowell
Тема Re: Recovering from failed transaction
Дата
Msg-id CAAQkdDqaM0j1JhEy+aXsNVNOvOD1R5DDOm-HtdiwfQ+sVw6WbA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Recovering from failed transaction  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: Recovering from failed transaction  ("Francisco Figueiredo Jr." <francisco@npgsql.org>)
Список pgsql-general
On Mon, Mar 10, 2014 at 4:16 PM, Jeff Janes <jeff.janes@gmail.com> wrote:
> ...  Or maybe it is mangling the "ROLLBACK;" into some form
> the database doesn't recognize.  Look in the postgres log files to see what
> the events look like from PostgreSQL's perspective.

Well that's the clue I needed. I was misinterpreting Postgres's log
file; it was complaining about the "SET statement_timeout" statement
Npgsql was slipping ahead of my ROLLBACK. Apparently I need to do
transactions with Npgsql's transaction class.

--Brian


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

Предыдущее
От: Matthew Chambers
Дата:
Сообщение: bg writer went away after reload
Следующее
От: Venkata Balaji Nagothi
Дата:
Сообщение: Re: bg writer went away after reload