Out of date advice about SIGTERM'ing backends

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема Out of date advice about SIGTERM'ing backends
Дата
Msg-id CAK3UJRHHVHSLewwwXzKcvhKoXagxR07j=2U4P9hGqPmA=oJ1Kg@mail.gmail.com
обсуждение исходный текст
Ответы Re: Out of date advice about SIGTERM'ing backends  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-docs
Hi all,

In the "Notes" section[0] of the postgres command's page, this advice is given:

| The postgres server uses SIGTERM to tell subordinate server
| processes to quit normally and SIGQUIT to terminate without
| the normal cleanup. These signals should not be used by users.

I think now that we've added pg_terminate_backend() and made it
callable by non-superusers, we should relax the caveat against using
SIGTERM against backends. The warning to stay away from using SIGQUIT
seems fine as-is. Patch attached.

Josh

[0] http://www.postgresql.org/docs/9.2/static/app-postgres.html#AEN87192

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: outdated legal notice in SGML docs?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: outdated legal notice in SGML docs?