Re: what happens if a failed transaction is not rolled back?

Поиск
Список
Период
Сортировка
От Luca Ferrari
Тема Re: what happens if a failed transaction is not rolled back?
Дата
Msg-id CAKoxK+4PRGL1v5i6CFwp0XfY2R85GoXVPA0aF8+_iyxECq4e2g@mail.gmail.com
обсуждение исходный текст
Ответ на what happens if a failed transaction is not rolled back?  (Siddharth Jain <siddhsql@gmail.com>)
Список pgsql-general
On Mon, Apr 24, 2023 at 5:37 PM Siddharth Jain <siddhsql@gmail.com> wrote:
> i am asking: what happens if a failed transaction is not rolled back?

A transaction either terminates by a commit or by a rollback. A failed
transaction is an opened transaction that can be terminated only by a
rollback.
If you don't rollback, then your transaction is hold by the driver,
that means for instance your pooler is not able to recycle it.
Clearly, the exact behavior depends by the driver.



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

Предыдущее
От: Garfield Lewis
Дата:
Сообщение: Re: [EXT] Re: SCROLLABLE/UPDATABLE cursor question
Следующее
От: Max Kremer
Дата:
Сообщение: Fwd: postgresql15-contrib installation on Amazon Linux 2 fails on Python shared lib dependency