Re: Add shutdown_at_recovery_target option to recovery.conf
Вложения
В списке pgsql-hackers по дате отправления:
| От | Petr Jelinek |
|---|---|
| Тема | Re: Add shutdown_at_recovery_target option to recovery.conf |
| Дата | |
| Msg-id | 546BC29A.5060402@2ndquadrant.com обсуждение исходный текст |
| Ответ на | 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 18/11/14 12:57, Simon Riggs wrote: > On 31 October 2014 15:18, Petr Jelinek <petr@2ndquadrant.com> wrote: > >> Attached is the v2 of the patch with the review comments addressed (see >> below). > ... >> Done, there is now action_at_recovery_target which can be set to either >> pause, continue or shutdown, defaulting to pause (which is same as old >> behavior of pause_at_recovery_target defaulting to true). > > One comment only: I think the actions should be called: pause, promote > and shutdown, since "continue" leads immediately to promotion of the > server. > > I'm good with this patch otherwise. Barring objections I will commit tomorrow. > OK, promote works for me as well, I attached patch that changes continue to promote so you don't have to find and replace everything yourself. The changed doc wording probably needs to be checked. -- Petr Jelinek http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера