pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ktm@rice.edu <ktm@rice.edu>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-admin@postgresql.org, 'Albe Laurenz' <laurenz.albe@wien.gv.at>
Subject: Re: Very long "<IDLE> in transaction" query
Date: Fri, 4 May 2012 10:05:53 -0500
Message-ID: <20120504150553.GL32303@aart.rice.edu> (raw)
In-Reply-To: <4FA399E40200002500047870@gw.wicourts.gov>
References: <008101cd2916$1c023b20$5406b160$@com>
	<D960CB61B694CF459DCFB4B0128514C207D4FFA7@exadv11.host.magwien.gv.at>
	<008001cd29db$ab24ba60$016e2f20$@com>
	<20120504133842.GH32303@aart.rice.edu>
	<4FA399E40200002500047870@gw.wicourts.gov>

On Fri, May 04, 2012 at 08:57:08AM -0500, Kevin Grittner wrote:
> "ktm@rice.edu" <ktm@rice.edu> wrote:
>  
> > You may also want to consider setting a statement_timeout to
> > prevent this until you can find the problem with the application.
>  
> How would a statement timeout help close a transaction on an idle
> connection?  It's idle because no statements are being run.
>  
> -Kevin

Yes, you are correct. I misunderstood. Too bad we do not have a
transaction_timeout.

Regards,
Ken



view thread (10+ messages)  latest in thread

Message-ID: <20120504150553.GL32303@aart.rice.edu>
Permalink:  ../20120504150553.GL32303@aart.rice.edu/
Also on:    postgresql.org/message-id/20120504150553.GL32303@aart.rice.edu

 · 

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: ktm@rice.edu, Kevin.Grittner@wicourts.gov, laurenz.albe@wien.gv.at
  Subject: Re: Very long "<IDLE> in transaction" query
  In-Reply-To: <20120504150553.GL32303@aart.rice.edu>

* 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