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

From Jan de Visser
Subject Re: Idea: closing the loop for "pg_ctl reload"
Date
Msg-id 203639015.e8atyafMAn@bison
Whole thread Raw
In response to Re: Idea: closing the loop for "pg_ctl reload"  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Responses Re: Idea: closing the loop for "pg_ctl reload"
List pgsql-hackers
On March 3, 2015 11:09:29 AM Jim Nasby wrote:
> On 3/3/15 9:26 AM, Andres Freund wrote:
> > 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.
> > 4071
> > /srv/dev/pgdev-master
> > 1425396089
> > 5440
> > /tmp
> > localhost
> > 
> >    5440001  82345992
> 
> If we already have all this extra stuff, why not include an actual error
> message then, or at least the first line of an error (or maybe just swap
> any newlines with spaces)?

Not impossible. I can play around with that and see if it's as straightforward 
as I think it is.



pgsql-hackers by date:

Previous
From: Jan de Visser
Date:
Subject: Re: Idea: closing the loop for "pg_ctl reload"
Next
From: Bruce Momjian
Date:
Subject: Re: logical column ordering