Re: Warm standby terminate itself? - Mailing list pgsql-admin

From Rural Hunter
Subject Re: Warm standby terminate itself?
Date
Msg-id 4E793CAF.6060600@gmail.com
Whole thread Raw
In response to Re: Warm standby terminate itself?  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-admin
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
>



pgsql-admin by date:

Previous
From: Steve Crawford
Date:
Subject: Re: currval()
Next
From: Julius Tuskenis
Date:
Subject: Re: currval()