Re: Warm standby terminate itself?

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Warm standby terminate itself?
Дата
Msg-id 4E78878D0200002500041401@gw.wicourts.gov
обсуждение исходный текст
Ответ на Warm standby terminate itself?  (Rural Hunter <ruralhunter@gmail.com>)
Ответы Re: Warm standby terminate itself?
Список pgsql-admin
Rural Hunter <ruralhunter@gmail.com> wrote:

> I set up an warm standby server which fetches WAL logs from a
> remote server. It has been working very well. But today, I was
> editing the restore script(which is set as the restore_command)
> with vi. Just right after I saved the script, I noticed suddenly
> the standby server terminated.

Updating a recovery script while it is executing is a problem.  I
tend to update a copy of the script, stop the warm standby, mv the
copy into place, and start the warm standby.  You can do that
without kicking it out of recovery status.

-Kevin

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

Предыдущее
От: Rural Hunter
Дата:
Сообщение: Warm standby terminate itself?
Следующее
От: Marc Fromm
Дата:
Сообщение: returning id