Re: Idea: closing the loop for "pg_ctl reload"

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Jan de Visser <jan(at)de-visser(dot)net>, <pgsql-hackers(at)postgresql(dot)org>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Greg Stark <stark(at)mit(dot)edu>
Subject: Re: Idea: closing the loop for "pg_ctl reload"
Date: 2015-03-05 21:06:41
Message-ID: 54F8C561.5070901@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 3/4/15 7:13 PM, Jan de Visser wrote:
> On March 4, 2015 11:08:09 PM Andres Freund wrote:
>> Let's get the basic feature (notification of failed reloads) done
>> first. That will be required with or without including the error
>> message. Then we can get more fancy later, if somebody really wants to
>> invest the time.
>
> Except for also fixing pg_reload_conf() to pay attention to what happens with
> postmaster.pid, the patch I submitted does exactly what you want I think.
>
> And I don't mind spending time on stuff like this. I'm not smart enough to deal
> with actual, you know, database technology.

Yeah, lets at least get this wrapped and we can see about improving it.

I like the idea of doing a here-doc or similar in the .pid, though I
think it'd be sufficient to just prefix all the continuation lines with
a tab. An uglier option would be just striping the newlines out.
--
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2015-03-05 21:10:46 Re: MD5 authentication needs help
Previous Message Jim Nasby 2015-03-05 20:59:36 Re: MD5 authentication needs help