pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andreas Joseph Krogh <andreak@officenet.no>
To: Andrew Sullivan <ajs@crankycanuck.ca>
Cc: pgsql-sql@postgresql.org
Subject: Re: row-attribute in EXPLAIN-output doesn't match count(*)
Date: Thu, 14 Apr 2005 21:57:03 +0200
Message-ID: <200504142157.03313.andreak@officenet.no> (raw)
In-Reply-To: <20050414190818.GD9027@phlogiston.dyndns.org>
References: <200504141838.14705.andreak@officenet.no>
	<20050414190447.GE28198@dcc.uchile.cl>
	<20050414190818.GD9027@phlogiston.dyndns.org>

On Thursday 14 April 2005 21:08, Andrew Sullivan wrote:
> On Thu, Apr 14, 2005 at 03:04:47PM -0400, Alvaro Herrera wrote:
> > It is a Postgres limitation as well.  We _could_ make the server "really
> > start the transaction" at the point the first query is issued instead of
> > when the BEGIN is issued.  In fact this problem would go away if we did
> > that.
>
> Yeah; I seem to remember Tom Lane suggesting such an approach at one
> point.  I had the vague idea it might happen in 8.0, but for some
> reason I think it didn't.  (Anyway, that's probably off topic for
> this list.)

I don't see this behaviour under 8.0.0, and it's presumably fixed:
http://archives.postgresql.org/pgsql-jdbc/2004-06/msg00018.php

Is it safe to issue a "kill -2 <pid-of-idle-process>", will the 
connection-pool reconnect?

-- 
Andreas Joseph Krogh <andreak@officenet.no>
Senior Software Developer / Manager
gpg public_key: http://dev.officenet.no/~andreak/public_key.asc
------------------------+---------------------------------------------+
OfficeNet AS            | The most difficult thing in the world is to |
Hoffsveien 17           | know how to do a thing and to watch         |
PO. Box 425 Skøyen      | somebody else doing it wrong, without       |
0213 Oslo               | comment.                                    |
NORWAY                  |                                             |
Phone : +47 22 13 01 00 |                                             |
Direct: +47 22 13 10 03 |                                             |
Mobile: +47 909  56 963 |                                             |
------------------------+---------------------------------------------+



view thread (24+ messages)  latest in thread

Message-ID: <200504142157.03313.andreak@officenet.no>
Permalink:  ../200504142157.03313.andreak@officenet.no/
Also on:    postgresql.org/message-id/200504142157.03313.andreak@officenet.no

 · 

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: andreak@officenet.no, ajs@crankycanuck.ca
  Subject: Re: row-attribute in EXPLAIN-output doesn't match count(*)
  In-Reply-To: <200504142157.03313.andreak@officenet.no>

* 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