From: Rural Hunter <ruralhunter@gmail.com>
To: Kevin Grittner <kevin.grittner@wicourts.gov>
Cc: pgsql-admin@postgresql.org
Subject: Re: Warm standby terminate itself?
Date: Wed, 21 Sep 2011 09:23:59 +0800
Message-ID: <4E793CAF.6060600@gmail.com> (raw)
In-Reply-To: <4E78878D0200002500041401@gw.wicourts.gov>
References: <4E78C3C3.5040208@gmail.com>
<4E78878D0200002500041401@gw.wicourts.gov>
Got it. thanks.
于2011年9月21日 1:31:09,Kevin Grittner写到:
> 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
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: ruralhunter@gmail.com, kevin.grittner@wicourts.gov
Subject: Re: Warm standby terminate itself?
In-Reply-To: <4E793CAF.6060600@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox