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

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: row-attribute in EXPLAIN-output doesn't match count(*)
Date: 2005-04-14 20:44:35
Message-ID: 20050414204435.GF9027@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)crankycanuck(dot)ca
Information security isn't a technological problem. It's an economics
problem.
--Bruce Schneier

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Andreas Joseph Krogh 2005-04-14 21:15:35 Re: row-attribute in EXPLAIN-output doesn't match count(*)
Previous Message Andreas Joseph Krogh 2005-04-14 19:57:03 Re: row-attribute in EXPLAIN-output doesn't match count(*)