Re: pgbasebackup necessary for master slave change?

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Chris Travers <chris(dot)travers(at)gmail(dot)com>
Cc: Subhankar Chattopadhyay <subho(dot)atg(at)gmail(dot)com>, Achilleas Mantzios <achill(at)matrix(dot)gatewaynet(dot)com>, Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: pgbasebackup necessary for master slave change?
Date: 2016-12-08 12:35:50
Message-ID: CAB7nPqTgaVBn5ottGdw0GB=fXYANqjvV8F1rYC1krbMQwveMkA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Dec 8, 2016 at 7:08 PM, Chris Travers <chris(dot)travers(at)gmail(dot)com> wrote:
>
>
> On Thu, Dec 8, 2016 at 11:01 AM, Subhankar Chattopadhyay
> <subho(dot)atg(at)gmail(dot)com> wrote:
>>
>> pg_rewind cannot be used as I am on 9.4.
>>
>> Anything else?
>
>
> Upgrade to 9.5 or 9.6? ;-)
>
> This is a known limitation in Postgres that pg_rewind was written to
> address.

FWIW I maintain a version that works on 9.4:
https://github.com/vmware/pg_rewind
And that's battle-proven.
--
Michael

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Igor Korot 2016-12-08 12:54:16 Importing SQLite database
Previous Message Charles Clavadetscher 2016-12-08 12:00:33 Re: max_connections limit violation not showing in pg_stat_activity