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 16:44:35 -0400
Message-ID: <20050414204435.GF9027@phlogiston.dyndns.org> (raw)
In-Reply-To: <200504142157.03313.andreak@officenet.no>
References: <200504141838.14705.andreak@officenet.no>
<20050414190447.GE28198@dcc.uchile.cl>
<20050414190818.GD9027@phlogiston.dyndns.org>
<200504142157.03313.andreak@officenet.no>
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
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: <20050414204435.GF9027@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