Re: Idea: closing the loop for "pg_ctl reload" - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Idea: closing the loop for "pg_ctl reload"
Date
Msg-id 9514.1425396583@sss.pgh.pa.us
Whole thread Raw
In response to Re: Idea: closing the loop for "pg_ctl reload"  (Andres Freund <andres@2ndquadrant.com>)
Responses Re: Idea: closing the loop for "pg_ctl reload"
List pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> On 2015-03-03 15:21:24 +0000, Greg Stark wrote:
>> Fwiw this concerns me slightly. I'm sure a lot of people are doing
>> things like "kill -HUP `cat .../postmaster.pid`" or the equivalent.

> postmaster.pid already contains considerably more than just the pid. e.g.

Yeah, that ship sailed long ago.  I'm sure anyone who's doing this is
using "head -1" not just "cat", and what I suggest wouldn't break that.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Idea: closing the loop for "pg_ctl reload"
Next
From: "Syed, Rahila"
Date:
Subject: Re: [REVIEW] Re: Compression of full-page-writes