Re: Dynamically change Master(recovery info) without restarting standby server..

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: sudalai <sudalait2(at)gmail(dot)com>
Cc: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Dynamically change Master(recovery info) without restarting standby server..
Date: 2014-10-27 13:12:51
Message-ID: CAB7nPqTR3X4PVhviED7i372MQDiNK9_EEZWQ2nn2HF3eD62FLA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Oct 27, 2014 at 8:45 PM, sudalai <sudalait2(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2014-10-27 13:20:00 Re: [REVIEW] Re: Compression of full-page-writes
Previous Message Michael Paquier 2014-10-27 13:09:48 Re: Master ip from hot_standby..