pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter@berghold.net
Cc: General <pgsql-general@postgresql.org>
Subject: Re: Idle in transaction state.
Date: Sat, 09 Sep 2006 20:49:34 -0400
Message-ID: <22969.1157849374@sss.pgh.pa.us> (raw)
In-Reply-To: <4503046F.7030901@Berghold.Net>
References: <4503046F.7030901@Berghold.Net>

"Peter L. Berghold" <Peter@berghold.net> writes:
> What I'm seeing is the first time my web application is being run there
> is a bunch of processes running around that look like:
> "postgres: peter peter_trialdb 127.0.0.1(46222) idle"

"idle" is fine, "idle in transaction" is not so fine, because those
might be holding locks that block things like schema changes.  You need
to figure out why your client-side code isn't closing out its
transactions promptly.

You'd probably be better off asking on the pgsql-jdbc list about this,
as the folks likely to know about Java-stack issues hang out there.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <22969.1157849374@sss.pgh.pa.us>
Permalink:  ../22969.1157849374@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22969.1157849374@sss.pgh.pa.us

 · 

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-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Peter@berghold.net, pgsql-general@postgresql.org
  Subject: Re: Idle in transaction state.
  In-Reply-To: <22969.1157849374@sss.pgh.pa.us>
  References: <4503046F.7030901@Berghold.Net> <22969.1157849374@sss.pgh.pa.us>

* 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