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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: what happens if a failed transaction is not rolled back?
Дата
Msg-id 589774.1682386885@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: what happens if a failed transaction is not rolled back?  (Merlin Moncure <mmoncure@gmail.com>)
Ответы Re: what happens if a failed transaction is not rolled back?  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
Merlin Moncure <mmoncure@gmail.com> writes:
> Hm. I also noticed when looking at this that aborted transactions with
> savepoints are not subjected to the idle_in_transaction timeout which is a
> bit surprising.

Hmm ... I think it's intentional that idle_in_transaction no longer
applies once the transaction has failed.  But if there's a live
savepoint, then we should enforce it since resources may still be
held.  Seems like a bug, if your observation is accurate.

            regards, tom lane



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

Предыдущее
От: Jagmohan Kaintura
Дата:
Сообщение: murmur3 hash binary data migration from Oracle to PostgreSQL
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: what happens if a failed transaction is not rolled back?