Re: Remove Standby (SLAVE) from Primary (MASTER) - Postgres9.1

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, Joanna Xu <Joanna(dot)Xu(at)amdocs(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Remove Standby (SLAVE) from Primary (MASTER) - Postgres9.1
Date: 2016-10-26 23:50:08
Message-ID: 72b1d4c4-ab7a-5963-6c33-a4725cc32b1a@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 10/26/2016 04:43 PM, Michael Paquier wrote:
> On Wed, Oct 26, 2016 at 11:18 PM, Joanna Xu <Joanna(dot)Xu(at)amdocs(dot)com> wrote:
>> I’ve been looking for a procedure (step by step) on how to remove Standby
>> (SLAVE) from Primary (MASTER) for Postgres9.1 in google and the archived
>> postings, but no luck.
>
> Standby and master servers are two separate Postgres instances. So if
> you would like to remove a standby from a cluster. You just need to
> basically stop it, then remove its data folder. And you are done.
> There is no complicated science here.

Not sure that is what OP wants. From the original post:

" ...
2. After the standby is removed from the primary, both of nodes
are in standalone configuration. "

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message melvin6925 2016-10-27 00:16:16 Re: Remove Standby (SLAVE) from Primary (MASTER) - Postgres9.1
Previous Message Michael Paquier 2016-10-26 23:43:16 Re: Remove Standby (SLAVE) from Primary (MASTER) - Postgres9.1