Re: recovery_target_time and standby_mode

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: recovery_target_time and standby_mode
Дата
Msg-id CAB7nPqThUm5yu7oiTNrU22wLFbOxr6tiSOHFq2EA2fzYWynCBA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: recovery_target_time and standby_mode  (Greg Stark <stark@mit.edu>)
Ответы Re: recovery_target_time and standby_mode  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-hackers
On Thu, Nov 6, 2014 at 10:00 AM, Greg Stark <stark@mit.edu> wrote:
> On Thu, Nov 6, 2014 at 12:32 AM, Josh Berkus <josh@agliodbs.com> wrote:
>> When the recovery_target_time is reached, switch to streaming
>> replication and stay a standby.
>
> Then shouldn't he just not specify a recovert_target at all? That's
> the default behaviour for standby_mode on, the whole point of
> recovery_target is to specify when to stop recovery and leave standby
> mode, no?
Agreed with Greg, once a target recovery is switched the node gets out
of recovery. What the user should have done here is not specify
recovery_target_time in the standby's recovery.conf such as it follows
the master through streaming.
-- 
Michael



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: recovery_target_time and standby_mode
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: recovery_target_time and standby_mode