pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: pg_ctl kill support for KILL signal was Re: [COMMITTERS] pgsql: Add test for postmaster crash restarts.
Date: Sun, 01 Oct 2017 16:42:44 -0400
Message-ID: <26945.1506890564@sss.pgh.pa.us> (raw)
In-Reply-To: <45d42d41-6145-9be1-7261-84acf6d9e344@2ndQuadrant.com>
References: <18695.1505840008@sss.pgh.pa.us>
	<D2FBABBF-F0E3-43FE-8EA4-E2431DD6EEBA@anarazel.de>
	<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>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



view thread (7+ messages)  latest in thread

Message-ID: <26945.1506890564@sss.pgh.pa.us>
Permalink:  ../26945.1506890564@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/26945.1506890564@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andrew.dunstan@2ndquadrant.com, andres@anarazel.de, pgsql-hackers@postgresql.org
  Subject: Re: pg_ctl kill support for KILL signal was Re: [COMMITTERS] pgsql: Add test for postmaster crash restarts.
  In-Reply-To: <26945.1506890564@sss.pgh.pa.us>
  References: <18695.1505840008@sss.pgh.pa.us> <D2FBABBF-F0E3-43FE-8EA4-E2431DD6EEBA@anarazel.de> <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> <26945.1506890564@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox