Re: Function to kill backend

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Function to kill backend
Дата
Msg-id 406DE63A.1090605@dunslane.net
обсуждение исходный текст
Ответ на Function to kill backend  ("Magnus Hagander" <mha@sollentuna.net>)
Ответы Re: Function to kill backend  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Function to kill backend  (Neil Conway <neilc@samurai.com>)
Список pgsql-hackers
Magnus Hagander wrote:

>Hi!
>
>When debugging on win32, I've created myself a little function that I
>feel should be added to the "backend proper". While it adds a lot of
>vlaue on win32, I think it adds quite a bit of value on non-win32
>platforms as well...
>
>The function is pg_kill_backend(<pid>,<signal>). superuser-only, of
>course. Which simply sends a signal to the specified backend -
>querycancel, terminate, etc.
>  
>

If' we're going to have this shouldn't it be a proper command? And maybe 
an internal shutdown command to go with it?

cheers

andrew





В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Function to kill backend
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Function to kill backend