Re: reaper should restart archiver even on standby

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: reaper should restart archiver even on standby
Дата
Msg-id 20150610163905.GZ133018@postgresql.org
обсуждение исходный текст
Ответ на Re: reaper should restart archiver even on standby  (Fujii Masao <masao.fujii@gmail.com>)
Ответы Re: reaper should restart archiver even on standby
Список pgsql-hackers
Fujii Masao wrote:

> Agreed. The attached patch defines the macro to check whether archiver is
> allowed to start up or not, and uses it everywhere except sigusr1_handler.
> I made sigusr1_handler use a different condition because only it tries to
> start archiver in PM_STARTUP postmaster state and it looks a bit messy
> to add the check of that state into the centralized check condition.

WFM, but do these macros in xlog.h need a one-line comment to state
their purpose?

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Gurjeet Singh
Дата:
Сообщение: Re: replication slot restart_lsn initialization
Следующее
От: Rosiński Krzysztof 2 - Detal
Дата:
Сообщение: Re: [idea] table partition + hash join