From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Rural Hunter <ruralhunter@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Warm standby terminate itself?
Date: Tue, 20 Sep 2011 12:31:09 -0500
Message-ID: <4E78878D0200002500041401@gw.wicourts.gov> (raw)
In-Reply-To: <4E78C3C3.5040208@gmail.com>
References: <4E78C3C3.5040208@gmail.com>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, ruralhunter@gmail.com
Subject: Re: Warm standby terminate itself?
In-Reply-To: <4E78878D0200002500041401@gw.wicourts.gov>
References: <4E78C3C3.5040208@gmail.com> <4E78878D0200002500041401@gw.wicourts.gov>
* 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