Re: pg_terminate_backend

Поиск
Список
Период
Сортировка
От Andreas Pflug
Тема Re: pg_terminate_backend
Дата
Msg-id 44D22E8C.7010406@pse-consulting.de
обсуждение исходный текст
Ответ на Re: pg_terminate_backend  (Csaba Nagy <nagy@ecircle-ag.com>)
Список pgsql-hackers
Csaba Nagy wrote:
>> "man kill" says the default is SIGTERM.
>>     
>
> OK, so that means I do use it... is it known to be dangerous ? I thought
> till now that it is safe to use. 
Apparently you never suffered any problems from that; neither did I.

> What about "select pg_cancel_backend()"
>   

That's the function wrapper around kill -SIGINT, which is probably the
way you could safely stop your queries most of the time.


Regards,
Andreas



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

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: pg_terminate_backend
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Replication Documentation