X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 1CD4953EA2 for ; Thu, 14 Apr 2005 16:57:06 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12281-01 for ; Thu, 14 Apr 2005 19:57:02 +0000 (GMT) Received: from krogh.officenet.no (unknown [128.39.244.194]) by svr1.postgresql.org (Postfix) with ESMTP id 7289653E16 for ; Thu, 14 Apr 2005 16:57:01 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by krogh.officenet.no (Postfix) with ESMTP id CE0712BD83F; Thu, 14 Apr 2005 21:57:03 +0200 (CEST) From: Andreas Joseph Krogh Organization: OfficeNet AS To: Andrew Sullivan Subject: Re: row-attribute in EXPLAIN-output doesn't match count(*) Date: Thu, 14 Apr 2005 21:57:03 +0200 User-Agent: KMail/1.8 Cc: pgsql-sql@postgresql.org References: <200504141838.14705.andreak@officenet.no> <20050414190447.GE28198@dcc.uchile.cl> <20050414190818.GD9027@phlogiston.dyndns.org> In-Reply-To: <20050414190818.GD9027@phlogiston.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200504142157.03313.andreak@officenet.no> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200504/211 X-Sequence-Number: 21104 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 ", will the=20 connection-pool reconnect? =2D-=20 Andreas Joseph Krogh Senior Software Developer / Manager gpg public_key: http://dev.officenet.no/~andreak/public_key.asc =2D-----------------------+---------------------------------------------+ 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=F8yen | 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 | | =2D-----------------------+---------------------------------------------+