Re: Standby accepts recovery_target_timeline setting? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Standby accepts recovery_target_timeline setting?
Date
Msg-id ad8b26c3-3e18-3308-0956-92bffd3c3c4b@2ndquadrant.com
Whole thread Raw
In response to Re: Standby accepts recovery_target_timeline setting?  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: Standby accepts recovery_target_timeline setting?
List pgsql-hackers
On 2019-09-29 18:36, Fujii Masao wrote:
> Yes, but ArchiveRecoveryRequested should be checked instead of
> InArchiveRecovery, I think. Otherwise recovery targets would take effect
> when recovery.signal is missing but backup_label exists. In this case,
> InArchiveRecovery is set to true though ArchiveRecoveryRequested is
> false because recovery.signal is missing.
> 
> With the attached patch, I checked that the steps that I described
> upthread didn't reproduce the issue.

Your patch looks correct to me.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: v12 relnotes: alter system tables
Next
From: Justin Pryzby
Date:
Subject: typo: postGER