Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyl6C-00065k-Gj for pgsql-hackers@arkaria.postgresql.org; Sun, 01 Oct 2017 20:44:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dyl6B-0003r4-Dl for pgsql-hackers@arkaria.postgresql.org; Sun, 01 Oct 2017 20:44:27 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dyl4e-00015g-Rq for pgsql-hackers@postgresql.org; Sun, 01 Oct 2017 20:42:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dyl4b-0004v5-Da for pgsql-hackers@postgresql.org; Sun, 01 Oct 2017 20:42:52 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v91KgiWt026946; Sun, 1 Oct 2017 16:42:44 -0400 From: Tom Lane To: Andrew Dunstan cc: Andres Freund , PostgreSQL-development Subject: Re: pg_ctl kill support for KILL signal was Re: [COMMITTERS] pgsql: Add test for postmaster crash restarts. In-reply-to: <45d42d41-6145-9be1-7261-84acf6d9e344@2ndQuadrant.com> References: <18695.1505840008@sss.pgh.pa.us> <20170919174232.soc2skrqxxdtnh22@alap3.anarazel.de> <21486.1506601297@sss.pgh.pa.us> <5ce9b1f4-dff8-6fe9-74ab-d8e1b993b1d5@2ndQuadrant.com> <20170930221043.iay4s7rmwm5l7wiw@alap3.anarazel.de> <56b65da3-f7cc-494c-7952-ba5f6c804d7e@2ndQuadrant.com> <20170930222712.xgdgxnt4sjvig5mn@alap3.anarazel.de> <20170930224424.ud5ilchmclbl5y5n@alap3.anarazel.de> <75777957-d16f-f799-d0ec-bc3d5b7c72de@2ndQuadrant.com> <20171001023214.zgw3gs7mxjmlkqcd@alap3.anarazel.de> <45d42d41-6145-9be1-7261-84acf6d9e344@2ndQuadrant.com> Comments: In-reply-to Andrew Dunstan message dated "Sun, 01 Oct 2017 16:24:15 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <26944.1506890564.1@sss.pgh.pa.us> Date: Sun, 01 Oct 2017 16:42:44 -0400 Message-ID: <26945.1506890564@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Andrew Dunstan 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