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 D85CF533DB for ; Thu, 14 Apr 2005 17:44:46 -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 26827-06 for ; Thu, 14 Apr 2005 20:44:37 +0000 (GMT) Received: from smtp105.rog.mail.re2.yahoo.com (smtp105.rog.mail.re2.yahoo.com [206.190.36.83]) by svr1.postgresql.org (Postfix) with SMTP id C13EF53FA5 for ; Thu, 14 Apr 2005 17:44:35 -0300 (ADT) Received: from unknown (HELO phlogiston.dydns.org) (a.sullivan@rogers.com@216.75.167.195 with login) by smtp105.rog.mail.re2.yahoo.com with SMTP; 14 Apr 2005 20:44:36 -0000 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id 86E673D2E; Thu, 14 Apr 2005 16:44:35 -0400 (EDT) Date: Thu, 14 Apr 2005 16:44:35 -0400 From: Andrew Sullivan To: pgsql-sql@postgresql.org Subject: Re: row-attribute in EXPLAIN-output doesn't match count(*) Message-ID: <20050414204435.GF9027@phlogiston.dyndns.org> References: <200504141838.14705.andreak@officenet.no> <20050414190447.GE28198@dcc.uchile.cl> <20050414190818.GD9027@phlogiston.dyndns.org> <200504142157.03313.andreak@officenet.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200504142157.03313.andreak@officenet.no> User-Agent: Mutt/1.5.6+20040907i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.048 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200504/212 X-Sequence-Number: 21105 On Thu, Apr 14, 2005 at 09:57:03PM +0200, Andreas Joseph Krogh wrote: > Is it safe to issue a "kill -2 ", will the > connection-pool reconnect? The kill -2 will definitely work to shut the connectiond down cleanly. Actually, I should put that more precisely: you should send SIGINT. I don't know of any systems where that's not 2, but I suppose it's logically possible. As for the reconnection, it'll depend entirely on what your pool does when its connections are closed. You'll have to test it. A -- Andrew Sullivan | ajs@crankycanuck.ca Information security isn't a technological problem. It's an economics problem. --Bruce Schneier