From: | Josh Kupershmidt <schmiddy(at)gmail(dot)com> |
---|---|
To: | pgsql-docs <pgsql-docs(at)postgresql(dot)org> |
Subject: | Out of date advice about SIGTERM'ing backends |
Date: | 2012-06-30 03:10:40 |
Message-ID: | CAK3UJRHHVHSLewwwXzKcvhKoXagxR07j=2U4P9hGqPmA=oJ1Kg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
Attachment | Content-Type | Size |
---|---|---|
backends_sigterm.diff | application/octet-stream | 1.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2012-06-30 20:52:58 | Re: outdated legal notice in SGML docs? |
Previous Message | Tom Lane | 2012-06-29 02:12:24 | Re: outdated legal notice in SGML docs? |