| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера