Re: pg recovery

From: Jayadevan M <jayadevan(dot)maymala(at)ibsplc(dot)com>
To: 'Michael Paquier' <michael(dot)paquier(at)gmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg recovery
Date: 2013-07-11 12:01:58
Message-ID: 3411BBAFF5A2244FA405CC91D9473A602369BC1C@PBOX2.ibsplc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

overy has begun.
>> Recovery has not begun. Without the change, the recovery will not start. So,
>do I have to do a reload, or restart, for the parameter to take effect? The
>situation is - master is up and running, slave is up and running. I made a
>change to recovery.conf. How can I make slave 'accept' that change?
>I think that you are mixing things here. recovery.conf is read once at server
>start up and its presence puts the server in archive recovery.
>Check the output of "SELECT pg_is_in_recovery()" and you will see that its
>output is true, meaning that the node is in recovery. On the other hand,
>trigger_file is used for a node promotion, making the node exit the archive
>recovery mode and turn it into a master node. So to make the new parameter
>have effect restart the server.
>--
As you said, I was mixing things there. When you said recovery has begun, I confused it with promotion. Apologies.
I tried restarting the standby node and it worked.
Thanks a lot,
Jayadevan

DISCLAIMER: "The information in this e-mail and any attachment is intended only for the person to whom it is addressed and may contain confidential and/or privileged material. If you have received this e-mail in error, kindly contact the sender and destroy all copies of the original communication. IBS makes no warranty, express or implied, nor guarantees the accuracy, adequacy or completeness of the information contained in this email or any attachment and is not liable for any errors, defects, omissions, viruses or for resultant loss or damage, if any, direct or indirect."

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Raghavendra 2013-07-11 12:43:59 Re: Reply: [GENERAL] 回复: [GENERAL] Can't create plpython language
Previous Message Michael Paquier 2013-07-11 11:41:10 Re: pg recovery