pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-sql@postgresql.org
Subject: Re: row-attribute in EXPLAIN-output doesn't match count(*)
Date: Thu, 14 Apr 2005 14:56:23 -0400
Message-ID: <20050414185623.GC9027@phlogiston.dyndns.org> (raw)
In-Reply-To: <200504141954.20520.andreak@officenet.no>
References: <200504141838.14705.andreak@officenet.no>
	<200504141921.38476.andreak@officenet.no>
	<20050414173358.GB9027@phlogiston.dyndns.org>
	<200504141954.20520.andreak@officenet.no>

On Thu, Apr 14, 2005 at 07:54:19PM +0200, Andreas Joseph Krogh wrote:
> Any hints on how I can find out what's keeping the connection idle in a 
> transaction? I realize now that I should probably ask that question on the 
> pgsql-jdbc-list:-)

Nope.  That's a problem with your pool software.  It's no doubt
issuing "BEGIN;" as soon as it connects.  It's BAD (broken as
designed) in that case.  You need to convince it not to do that, or
else you need to go around and kill -2 such connections from time to
time.

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
I remember when computers were frustrating because they *did* exactly what 
you told them to.  That actually seems sort of quaint now.
		--J.D. Baldwin



view thread (24+ messages)  latest in thread

Message-ID: <20050414185623.GC9027@phlogiston.dyndns.org>
Permalink:  ../20050414185623.GC9027@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20050414185623.GC9027@phlogiston.dyndns.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-sql@postgresql.org
  Cc: ajs@crankycanuck.ca
  Subject: Re: row-attribute in EXPLAIN-output doesn't match count(*)
  In-Reply-To: <20050414185623.GC9027@phlogiston.dyndns.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