Re: Cancelling idle in transaction state

Поиск
Список
Период
Сортировка
От Joachim Wieland
Тема Re: Cancelling idle in transaction state
Дата
Msg-id dc7b844e0912300243m346b2883n2b6ecd38dcc0eba4@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Cancelling idle in transaction state  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Cancelling idle in transaction state
Список pgsql-hackers
On Wed, Dec 30, 2009 at 12:28 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
>> I had to write an additional function AbortAnyTransaction() which
>> aborts all transactions and subtransactions and leaves the transaction
>> in the aborted state, is there an existing function to do this?
>
> AbortOutOfAnyTransaction()

But this would clean up completely and not leave the transaction in
the aborted state. Subsequent commands will be executed just fine
instead of being refused with the error message that the transaction
is already aborted... Right?


Joachim


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

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: Cancelling idle in transaction state
Следующее
От: "Tarun Sharma"
Дата:
Сообщение: Re: Can we hide data from the superadmin