Out of date advice about SIGTERM'ing backends - Mailing list pgsql-docs

From Josh Kupershmidt
Subject Out of date advice about SIGTERM'ing backends
Date
Msg-id CAK3UJRHHVHSLewwwXzKcvhKoXagxR07j=2U4P9hGqPmA=oJ1Kg@mail.gmail.com
Whole thread Raw
Responses Re: Out of date advice about SIGTERM'ing backends  (Bruce Momjian <bruce@momjian.us>)
List 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

pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: outdated legal notice in SGML docs?
Next
From: Peter Eisentraut
Date:
Subject: Re: outdated legal notice in SGML docs?