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

Поиск
Список
Период
Сортировка
От Jim Nasby
Тема Re: Idea: closing the loop for "pg_ctl reload"
Дата
Msg-id 54F5EAC9.6030903@BlueTreble.com
обсуждение исходный текст
Ответ на Re: Idea: closing the loop for "pg_ctl reload"  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: Idea: closing the loop for "pg_ctl reload"  (Jan de Visser <jan@de-visser.net>)
Re: Idea: closing the loop for "pg_ctl reload"  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
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)?
-- 
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: autogenerated column names + views are a dump hazard
Следующее
От: Jan de Visser
Дата:
Сообщение: Re: Idea: closing the loop for "pg_ctl reload"