Re: Reopen logfile on SIGHUP

Поиск
Список
Период
Сортировка
От Alexander Kuzmenkov
Тема Re: Reopen logfile on SIGHUP
Дата
Msg-id c7cd74db-dde3-49e7-cdde-b909b0fdac0b@postgrespro.ru
обсуждение исходный текст
Ответ на Re: Reopen logfile on SIGHUP  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Ответы Re: Reopen logfile on SIGHUP  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Список pgsql-hackers
On 04/16/2018 05:54 AM, Kyotaro HORIGUCHI wrote:
> We can provide a new command "pg_ctl logrotate" to hide the
> details. (It cannot be executed by root, though.)

I like this approach.

I looked at the patch and changed some things:
- cleaned up the error messages
- moved checkLogrotateSignal to postmaster.c, since it has no reason to 
be in xlog.c
- added some documentation I had from my older patch

Other than that, it looks good to me. The updated patch is attached.

-- 
Alexander Kuzmenkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Should we add GUCs to allow partition pruning to be disabled?
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: Toast issues with OldestXmin going backwards