Re: [EXT] Re: DBeaver session populating pg_stat_activity.backend_xmin

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: [EXT] Re: DBeaver session populating pg_stat_activity.backend_xmin
Date: 2023-01-25 22:34:08
Message-ID: 9ff830d1-1432-bd07-46f0-5975ef88271c@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/25/23 16:21, Dirschel, Steve wrote:
[snip]
>>> The problem is users will connect using DBeaver and their sessions
>>> will sit idle.
>> Idle is not a problem, "idle in transaction" is.
> From my perspective "idle in transaction" isn't necessarily a problem (although I don't like seeing sessions sitting like that for a long time).

Well, it is, since you /are/ sitting in an open transaction.

This fixes it: idle_in_transaction_session_timeout
https://www.postgresql.org/docs/9.6/runtime-config-client.html

--
Born in Arizona, moved to Babylonia.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Christophe Pettus 2023-01-25 22:49:17 Re: [EXT] DBeaver session populating pg_stat_activity.backend_xmin
Previous Message Dirschel, Steve 2023-01-25 22:21:14 RE: [EXT] Re: DBeaver session populating pg_stat_activity.backend_xmin