Re: Is there a way to kill a connection from the pg_stat_activitly list? - Mailing list pgsql-admin

From Kevin Grittner
Subject Re: Is there a way to kill a connection from the pg_stat_activitly list?
Date
Msg-id 47136772.EE98.0025.0@wicourts.gov
Whole thread Raw
In response to Re: Is there a way to kill a connection from the pg_stat_activitly list?  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Responses Re: Is there a way to kill a connection from the pg_stat_activitly list?
List pgsql-admin
>>> On Mon, Oct 15, 2007 at 12:34 PM, in message
<36e682920710151034r2aaef401m5429e460ee0ac209@mail.gmail.com>, "Jonah H.
Harris" <jonah.harris@gmail.com> wrote:
>
> There used to be a pg_terminate_backend, but it was #ifdef'd out due
> to corruption concerns.  Basically, all it did was:
>
> kill -TERM pid
>
> I'm not sure whether anyone has completed the research required to
> know if anything remains corrupted, but it is used occasionally.  Best
> to do pg_cancel_backend and then kill -TERM.

Where does pg_ctl kill fit in?

Is TERM the normal signal to use there, too?

Should the pg_ctl docs give some guidelines on the signals?

-Kevin




pgsql-admin by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: Is there a way to kill a connection from the pg_stat_activitly list?
Next
From: Darren Reed
Date:
Subject: Re: Is my database now too big?