pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: [EXT] Re: DBeaver session populating pg_stat_activity.backend_xmin
Date: Wed, 25 Jan 2023 16:34:08 -0600
Message-ID: <9ff830d1-1432-bd07-46f0-5975ef88271c@gmail.com> (raw)
In-Reply-To: <DM6PR03MB4332E40CEF09DA8FE89F5A49FACE9@DM6PR03MB4332.namprd03.prod.outlook.com>
References: <DM6PR03MB43321CA446447D0D6089E5F7FACE9@DM6PR03MB4332.namprd03.prod.outlook.com>
	<e2ee1240-016d-14db-ebe7-7aa03d9d1e12@gmx.net>
	<DM6PR03MB4332E40CEF09DA8FE89F5A49FACE9@DM6PR03MB4332.namprd03.prod.outlook.com>

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.

view thread (6+ messages)  latest in thread

Message-ID: <9ff830d1-1432-bd07-46f0-5975ef88271c@gmail.com>
Permalink:  ../9ff830d1-1432-bd07-46f0-5975ef88271c@gmail.com/
Also on:    postgresql.org/message-id/9ff830d1-1432-bd07-46f0-5975ef88271c@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: [EXT] Re: DBeaver session populating pg_stat_activity.backend_xmin
  In-Reply-To: <9ff830d1-1432-bd07-46f0-5975ef88271c@gmail.com>
  References: <DM6PR03MB43321CA446447D0D6089E5F7FACE9@DM6PR03MB4332.namprd03.prod.outlook.com> <e2ee1240-016d-14db-ebe7-7aa03d9d1e12@gmx.net> <DM6PR03MB4332E40CEF09DA8FE89F5A49FACE9@DM6PR03MB4332.namprd03.prod.outlook.com> <9ff830d1-1432-bd07-46f0-5975ef88271c@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox