| От | Alvaro Herrera |
|---|---|
| Тема | Re: archiver.pid |
| Дата | |
| Msg-id | 20060522220752.GD20221@surnet.cl обсуждение |
| Ответ на | archiver.pid (Simon Riggs <simon@2ndquadrant.com>) |
| Список | pgsql-patches |
Simon Riggs wrote: > Lock file to prevent starting with multiple archivers present. Isn't it cleaner to remove the PID file in postmaster.c:reaper()? That way you are really sure that the PID file is removed when the process is gone, even if it crashes. OTOH I don't think it's very clean to change the semantics of the ArchPid variable in postmaster. We use those to keep track of the running process, so if there's no archiver, it should be 0 (which is true for all said variables). -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера