From: | Rural Hunter <ruralhunter(at)gmail(dot)com> |
---|---|
To: | Kevin Grittner <kevin(dot)grittner(at)wicourts(dot)gov> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: Warm standby terminate itself? |
Date: | 2011-09-21 01:23:59 |
Message-ID: | 4E793CAF.6060600@gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Got it. thanks.
于2011年9月21日 1:31:09,Kevin Grittner写到:
> Rural Hunter<ruralhunter(at)gmail(dot)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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Julius Tuskenis | 2011-09-21 08:41:11 | Re: currval() |
Previous Message | Steve Crawford | 2011-09-20 23:54:37 | Re: currval() |