pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-admin@postgresql.org
Subject: Re: Why are a lot of ROLLBACK queries in idle state
Date: Fri, 18 Nov 2016 14:01:31 +0100
Message-ID: <o0mu37$bnq$1@blaine.gmane.org> (raw)
In-Reply-To: <1479470163236-5930934.post@n3.nabble.com>
References: <1479462927604-5930917.post@n3.nabble.com>
	<o0mkvn$d1p$1@blaine.gmane.org>
	<1479470163236-5930934.post@n3.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

rajan schrieb am 18.11.2016 um 12:56:
> If the _session_ is idle then shouldn't it be removed from pg_stat_activity?

The session is only removed from pg_stat_activity when it's closed, i.e. when the client disconnects. 

Being "idle" and disconnecting are two completely different things






-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (6+ messages)  latest in thread

Message-ID: <o0mu37$bnq$1@blaine.gmane.org>
Permalink:  ../o0mu37$bnq$1@blaine.gmane.org/
Also on:    postgresql.org/message-id/o0mu37$bnq$1@blaine.gmane.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: Why are a lot of ROLLBACK queries in idle state
  In-Reply-To: <o0mu37$bnq$1@blaine.gmane.org>

* 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