Re: Idle In Transaction Session Timeout, revived

Поиск
Список
Период
Сортировка
От David Steele
Тема Re: Idle In Transaction Session Timeout, revived
Дата
Msg-id 56B279B8.3010601@pgmasters.net
обсуждение исходный текст
Ответ на Re: Idle In Transaction Session Timeout, revived  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Idle In Transaction Session Timeout, revived  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-hackers
On 2/3/16 4:25 PM, Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> On Wed, Feb 3, 2016 at 3:41 PM, Jim Nasby <Jim.Nasby@bluetreble.com> wrote:
>>> Wouldn't it be more sensible to just roll the transaction back and not
>>> disconnect?
>
> I'm not sure how messy this would be in practice.  But if we think that
> killing the whole session is not desirable but something we're doing for
> expediency, then it would be worth looking into that approach.

I think killing the session is a perfectly sensible thing to do in this
case.  Everything meaningful that was done in the session will be rolled
back - no need to waste resources keeping the connection open.

--
-David
david@pgmasters.net


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Idle In Transaction Session Timeout, revived
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: Idle In Transaction Session Timeout, revived