Re: row-attribute in EXPLAIN-output doesn't match count(*) - Mailing list pgsql-sql

From Andrew Sullivan
Subject Re: row-attribute in EXPLAIN-output doesn't match count(*)
Date
Msg-id 20050414204435.GF9027@phlogiston.dyndns.org
Whole thread Raw
In response to Re: row-attribute in EXPLAIN-output doesn't match count(*)  (Andreas Joseph Krogh <andreak@officenet.no>)
Responses Re: row-attribute in EXPLAIN-output doesn't match count(*)  (Andreas Joseph Krogh <andreak@officenet.no>)
List pgsql-sql
On Thu, Apr 14, 2005 at 09:57:03PM +0200, Andreas Joseph Krogh wrote:
> Is it safe to issue a "kill -2 <pid-of-idle-process>", 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


pgsql-sql by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: Re: row-attribute in EXPLAIN-output doesn't match count(*)
Next
From: Andreas Joseph Krogh
Date:
Subject: Re: row-attribute in EXPLAIN-output doesn't match count(*)