Re: [GENERAL] WAL history files - Pgsql 9.2 - Mailing list pgsql-general

From Michael Paquier
Subject Re: [GENERAL] WAL history files - Pgsql 9.2
Date
Msg-id CAB7nPqRW2L_PoGWfK5gDK_QDhPjm53n7AYjX0=RnOLUGcbv4aA@mail.gmail.com
Whole thread Raw
In response to Re: [GENERAL] WAL history files - Pgsql 9.2  (Patrick B <patrickbakerbr@gmail.com>)
List pgsql-general
On Mon, Dec 12, 2016 at 9:31 AM, Patrick B <patrickbakerbr@gmail.com> wrote:
> No.. it didn't copy. i tested here. I had to manually copy the history file
> from /var/lib/pgsql/9.2/data/pg_xlogs from the new master to the same
> directory on the slaves.

An archive command is able to properly fetch the history files to
define a new timeline. If you rely only on streaming replication, only
9.3 and newer versions are able to do that: the replication protocol
has been extended at this point to allow a standby to fetch from a
primary history files.
--
Michael


pgsql-general by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [GENERAL] Re: [ADMIN] Would like to below scenario is possiblefor getting page/block corruption
Next
From: Michael Paquier
Date:
Subject: Re: [GENERAL] logical decoding output plugin