| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера