Re: Postgres Hot Standby. How or when does the recovery db move recovery.conf to recovery.done?

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Postgres Hot Standby. How or when does the recovery db move recovery.conf to recovery.done?
Дата
Msg-id b42b73150703210721v3a740acay97d08e487fb25ef2@mail.gmail.com
обсуждение исходный текст
Ответ на Postgres Hot Standby. How or when does the recovery db move recovery.conf to recovery.done?  ("Dhaval Shah" <dhaval.shah.m@gmail.com>)
Ответы Re: Postgres Hot Standby. How or when does the recovery db move recovery.conf to recovery.done?  ("Dhaval Shah" <dhaval.shah.m@gmail.com>)
Список pgsql-general
On 3/21/07, Dhaval Shah <dhaval.shah.m@gmail.com> wrote:
> Resending.
>
> I have a "hot" standby. Now, if the primary fails
> how do I tell the secondary that come out of recovery mode and move
> the recovery.conf to recovery.done and start the db. I mean, what
> error code shall I return?

did you look at pg_standby utility? it has kill file mechanism that
automates this for you.

merlin

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

Предыдущее
От: Thomas Pundt
Дата:
Сообщение: Re: to_tsvector in 8.2.3
Следующее
От: "Brandon Aiken"
Дата:
Сообщение: Re: Lifecycle of PostgreSQL releases