Got it. thanks.
于2011年9月21日 1:31:09,Kevin Grittner写到:
Rural Hunter<ruralhunter@xxxxxxxxx> 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
--
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin