Re: Add shutdown_at_recovery_target option to recovery.conf
В списке pgsql-hackers по дате отправления:
| От | Andres Freund |
|---|---|
| Тема | Re: Add shutdown_at_recovery_target option to recovery.conf |
| Дата | |
| Msg-id | 20141119155727.GH17845@awork2.anarazel.de обсуждение |
| Ответ на | Re: Add shutdown_at_recovery_target option to recovery.conf (Simon Riggs <simon@2ndQuadrant.com>) |
| Ответы |
Re: Add shutdown_at_recovery_target option to recovery.conf
|
| Список | pgsql-hackers |
On 2014-11-19 15:47:05 +0000, Simon Riggs wrote: > > Also, for the Shutdown itself, why are we not using > > kill(PostmasterPid, SIGINT)? > > Done I don't think that's ok. The postmaster is the one that should be in control, not some subprocess. I fail to see the win in simplicity over using exit (like we already do for the normal end of recovery!) is. The issue with the log line seems perfectly easily to avoid by just checking the exit code in postmaster.c. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера