Re: Pause at end of recovery

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Pause at end of recovery
Дата
Msg-id CAHGQGwEBbekM+2voi64kuBcSX36Gj2BRLCRx8+1x1LmhYg7M=Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Pause at end of recovery  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
On Fri, Jan 27, 2012 at 12:50 AM, Magnus Hagander <magnus@hagander.net> wrote:
>> One idea; starting archive recovery with standby_mode=on meets your needs?
>
> I haven't tested, but probably, yes. But in that case, why do we need
> the pause_at_recovery_target *at all*? It's basically overloaded
> functionality already, but I figured it was set up that way to keep
> replication and recovery a bit separated?

AFAIK, when standby_mode = on, archive recovery pauses only at end of WAL files.
When recovery target is specified and archive recovery reaches the
target, it doesn't
pause. OTOH, when pause_at_recovery_target is set, archive recovery pauses only
at the target but not end of WAL files. Neither can cover all the usecases. So
pause_at_recovery_target was implemented.

Regards,

-- 
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center


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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Inline Extension
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Different error messages executing CREATE TABLE or ALTER TABLE to create a column "xmin"