Re: Dynamically change Master(recovery info) without restarting standby server.. - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Dynamically change Master(recovery info) without restarting standby server..
Date
Msg-id CAB7nPqTR3X4PVhviED7i372MQDiNK9_EEZWQ2nn2HF3eD62FLA@mail.gmail.com
Whole thread Raw
In response to Dynamically change Master(recovery info) without restarting standby server..  (sudalai <sudalait2@gmail.com>)
List pgsql-hackers
On Mon, Oct 27, 2014 at 8:45 PM, sudalai <sudalait2@gmail.com> wrote:
> Hi,
>
>    Is there any way to change the *master*  without restarting the *standby*
> server.
>
> Postgresql Documentation says,
>    -->Recovery.conf file only read on the startup in standby mode. In that
> file we specify the "Masterip".
>    -->If  you want to change the master we need to change the recovery.conf
> file and restart the standby node.
> but,
>      *I Need to change masterip without restarting the standby node.*
No. Restart the standby, documentation is clear here. Your need is
different from what can be done.
-- 
Michael



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Master ip from hot_standby..
Next
From: Fujii Masao
Date:
Subject: Re: [REVIEW] Re: Compression of full-page-writes