pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julien Rouhaud <julien.rouhaud@dalibo.com>
To: John Lumby <johnlumby@hotmail.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: pgsql bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14109: pg_rewind fails to update target control file in one scenario
Date: Mon, 25 Apr 2016 19:06:57 +0200
Message-ID: <571E4EB1.5000104@dalibo.com> (raw)
In-Reply-To: <COL131-W83A40422B650A246F11287A3620@phx.gbl>
References: <20160424192549.2725.71787@wrigleys.postgresql.org>
	<CAB7nPqSaj3vHsW9361hacr=Uh0Os3Fq8bNUPd-Edb6pb15Jv_A@mail.gmail.com>
	<COL131-W5403F755BF3290F32B1E62A3620@phx.gbl>
	<CAB7nPqRdd8ESxKmt=VvzgU171iRrzJABnEU6mCedaG-NDXSOvw@mail.gmail.com>
	<COL131-W1121BE46904C56BD5B948DA3620@phx.gbl>
	<571E2F5F.4080500@dalibo.com>
	<COL131-W83A40422B650A246F11287A3620@phx.gbl>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On 25/04/2016 17:45, John Lumby wrote:
>> From: julien.rouhaud@dalibo.com
>>
>> Did you set the recovery_target_timeline parameter to "latest" in the
>> recovery.conf file? (see
>> http://www.postgresql.org/docs/current/static/recovery-target-settings.html).
> 
> Thanks Julien,  no  I did not,     I will re-test with that later,  on 9.5.2
> Meanwhile one question on that.   The documentation states
>    "Setting this to latest recovers
>         to the latest timeline found in the archive, which ..."
> However I am running my systems with 
> archive_mode = off    
> I am wondering whether 
>  recovery_target_timeline parameter = "latest" 
> is expected to work reliably  to fix my particular problem when archiving is not in effect.
> 

I'm not sure where it's documented, but the timeline change works with
log shipping, and since 9.3 with streaming replication.

That's why Michael previously said: "System A is still on its previous
timeline 11, and will jump
to timeline 12 once it has connected back. That's possible since 9.3."

-- 
Julien Rouhaud
http://dalibo.com - http://dalibo.org


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (18+ messages)  latest in thread

Message-ID: <571E4EB1.5000104@dalibo.com>
Permalink:  ../571E4EB1.5000104@dalibo.com/
Also on:    postgresql.org/message-id/571E4EB1.5000104@dalibo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: julien.rouhaud@dalibo.com, johnlumby@hotmail.com, michael.paquier@gmail.com
  Subject: Re: BUG #14109: pg_rewind fails to update target control file in one scenario
  In-Reply-To: <571E4EB1.5000104@dalibo.com>
  References: <20160424192549.2725.71787@wrigleys.postgresql.org> <CAB7nPqSaj3vHsW9361hacr=Uh0Os3Fq8bNUPd-Edb6pb15Jv_A@mail.gmail.com> <COL131-W5403F755BF3290F32B1E62A3620@phx.gbl> <CAB7nPqRdd8ESxKmt=VvzgU171iRrzJABnEU6mCedaG-NDXSOvw@mail.gmail.com> <COL131-W1121BE46904C56BD5B948DA3620@phx.gbl> <571E2F5F.4080500@dalibo.com> <COL131-W83A40422B650A246F11287A3620@phx.gbl> <571E4EB1.5000104@dalibo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox