Re: Is there a way to kill a connection from the pg_stat_activitly list?

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Is there a way to kill a connection from the pg_stat_activitly list?
Дата
Msg-id 47136772.EE98.0025.0@wicourts.gov
обсуждение исходный текст
Ответ на Re: Is there a way to kill a connection from the pg_stat_activitly list?  ("Jonah H. Harris" <jonah.harris@gmail.com>)
Ответы Re: Is there a way to kill a connection from the pg_stat_activitly list?  (Jessica Richard <rjessil@yahoo.com>)
Список 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 по дате отправления:

Предыдущее
От: "Jonah H. Harris"
Дата:
Сообщение: Re: Is there a way to kill a connection from the pg_stat_activitly list?
Следующее
От: Darren Reed
Дата:
Сообщение: Re: Is my database now too big?