Re: could recovery_target_timeline=latest be the default in standbymode? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: could recovery_target_timeline=latest be the default in standbymode?
Date
Msg-id 20190115034210.GD1433@paquier.xyz
Whole thread Raw
In response to Re: could recovery_target_timeline=latest be the default in standbymode?  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On Sun, Jan 13, 2019 at 10:17:32AM +0100, Peter Eisentraut wrote:
> I'm not sure what the coverage is in detail in this area.  It seems we
> already have tests for not-specific-recovery-target, maybe not in this
> file, but most of the other tests rely on that, no?

[... Checking ...]
There are no tests on HEAD using directly recovery_target_timeline in
any .pl or .pm file, which is definitely not a good idea.
004_timeline_switch.pl is actually designed for checking the latest
timeline, which is fine.  002_archiving.pl somewhat tests for the
current timeline, still it is not really designed for this purpose.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Safely calling index_getprocinfo() while holding an nbtree exclusive buffer lock
Next
From: Edmund Horner
Date:
Subject: Re: Tid scan improvements