Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aujyJ-0001aD-03 for pgsql-bugs@arkaria.postgresql.org; Mon, 25 Apr 2016 17:06:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aujyI-0000ST-IN for pgsql-bugs@arkaria.postgresql.org; Mon, 25 Apr 2016 17:06:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aujyH-0000Q8-AK for pgsql-bugs@postgresql.org; Mon, 25 Apr 2016 17:06:53 +0000 Received: from mimolette.dalibo.net ([212.85.157.144] helo=mail.dalibo.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aujyD-0006iG-Nk for pgsql-bugs@postgresql.org; Mon, 25 Apr 2016 17:06:52 +0000 Received: from [192.168.0.6] (aur75-1-78-192-238-147.fbxo.proxad.net [78.192.238.147]) by mail.dalibo.com (Postfix) with ESMTPSA id 67A182C1329; Mon, 25 Apr 2016 19:06:48 +0200 (CEST) Subject: Re: BUG #14109: pg_rewind fails to update target control file in one scenario To: John Lumby , Michael Paquier References: <20160424192549.2725.71787@wrigleys.postgresql.org> <571E2F5F.4080500@dalibo.com> Cc: pgsql bugs From: Julien Rouhaud Message-ID: <571E4EB1.5000104@dalibo.com> Date: Mon, 25 Apr 2016 19:06:57 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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