Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dylCC-0006S3-2w for pgsql-hackers@arkaria.postgresql.org; Sun, 01 Oct 2017 20:50:40 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dylCB-0006q1-Kk for pgsql-hackers@arkaria.postgresql.org; Sun, 01 Oct 2017 20:50:39 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dylAe-00044b-P2 for pgsql-hackers@postgresql.org; Sun, 01 Oct 2017 20:49:04 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dylAX-0007vY-9R for pgsql-hackers@postgresql.org; Sun, 01 Oct 2017 20:49:03 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id F2A1920E29; Sun, 1 Oct 2017 16:48:55 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute5.internal (MEProxy); Sun, 01 Oct 2017 16:48:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=fm1; bh=6D4YL4is14dtvUm5ow OoDXVyaWMLo0VvURTB3R9yzL8=; b=nZ8IrZB0ennmLyBRAJpfkEY8xnJP6b5kMS u+a1p1VcVz2Ytc0n7AbVtt496dsag0xUPNSlnezVp3Kpqi8p/2zvhKw6qPgDzl/x PbHYJrzW/oDoTNN2IRVbVZyXFbh2+2hfvCQnzaeIPWM6m8otH6jwZsMGAyN+uOcD c0jeBaUcZVvR9kKTAj1I3r1OOsI/KJB2473qD1xXeEtS1M/sBoc6KubA3ovU4cPE SaDCmPmhoX1p4tCNU5XNJDg6X2w9bBs7iThEhdx7ujB4No3NkMkCIiGyEZLrqRCu j8gksU6BvIWA3XXp9XCZ8xdwwWZpL5y7cireHucnxfK+x/fjc5Kw== X-ME-Sender: X-Sasl-enc: YGDm2H20/Y+bTQO41xiSg7gAP64hbtgrRHLVK1kICkqO 1506890935 Received: from intern.anarazel.de (unknown [136.24.76.72]) by mail.messagingengine.com (Postfix) with ESMTPA id B4A2A2486C; Sun, 1 Oct 2017 16:48:55 -0400 (EDT) Date: Sun, 1 Oct 2017 13:48:54 -0700 From: Andres Freund To: Tom Lane Cc: Andrew Dunstan , PostgreSQL-development Subject: Re: pg_ctl kill support for KILL signal was Re: [COMMITTERS] pgsql: Add test for postmaster crash restarts. Message-ID: <20171001204854.ph3l6qo7b55yred3@alap3.anarazel.de> References: <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> <26945.1506890564@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <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 On 2017-10-01 16:42:44 -0400, Tom Lane wrote: > 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? As far as I can tell we've not documented the set of acceptable signals anywhere but the source. I think we can just keep it that way? Greetings, Andres Freund -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers