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