Skip site navigation (1) Skip section navigation (2)

Re: Warm standby terminate itself?

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 (view raw or flat)
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
>



In response to

pgsql-admin by date

Next:From: Julius TuskenisDate: 2011-09-21 08:41:11
Subject: Re: currval()
Previous:From: Steve CrawfordDate: 2011-09-20 23:54:37
Subject: Re: currval()

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group