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

Поиск
Список
Период
Сортировка
От Jan de Visser
Тема Re: Idea: closing the loop for "pg_ctl reload"
Дата
Msg-id 20086124.fDsfafoZLe@bison
обсуждение исходный текст
Ответ на Re: Idea: closing the loop for "pg_ctl reload"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On March 3, 2015 10:29:43 AM Tom Lane wrote:
> 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

And what I've implemented doesn't either. The extra line is added to the back 
of the file.



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jim Nasby
Дата:
Сообщение: Re: Idea: closing the loop for "pg_ctl reload"
Следующее
От: Jan de Visser
Дата:
Сообщение: Re: Idea: closing the loop for "pg_ctl reload"