Re: [HACKERS] pg_ctl kill support for KILL signal was Re: [COMMITTERS] pgsql: Add test for postmaster crash restarts. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] pg_ctl kill support for KILL signal was Re: [COMMITTERS] pgsql: Add test for postmaster crash restarts.
Date
Msg-id 26945.1506890564@sss.pgh.pa.us
Whole thread Raw
In response to [HACKERS] pg_ctl kill support for KILL signal was Re: [COMMITTERS] pgsql: Addtest for postmaster crash restarts.  (Andrew Dunstan <andrew.dunstan@2ndquadrant.com>)
Responses Re: [HACKERS] pg_ctl kill support for KILL signal was Re:[COMMITTERS] pgsql: Add test for postmaster crash restarts.
List pgsql-hackers
Andrew Dunstan <andrew.dunstan@2ndquadrant.com> writes:
> On 09/30/2017 10:32 PM, Andres Freund wrote:
>> Heh.  I'm inclined to take it out. We could add a --use-the-force-luke
>> type parameter, but it doesn't seem worth it.

> I agree, but I think we need this discussed on -hackers. Does anyone
> have an objection to allowing "pg_ctl kill KILL somepid"? As Andres
> points out, in most places you can just call kill from the command line
> anyway, so disallowing it is not really a security feature. Having it
> would let us have portable crash restart tests.

+1 for portable tests, but it still seems like something we don't want
to encourage users to use.  What do you think of leaving it out of the
documentation?
        regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: [HACKERS] pg_ctl kill support for KILL signal was Re: [COMMITTERS] pgsql: Addtest for postmaster crash restarts.
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] pg_ctl kill support for KILL signal was Re:[COMMITTERS] pgsql: Add test for postmaster crash restarts.