Re: pgsql: Make crash recovery ignore recovery target settings. - Mailing list pgsql-committers

From David Steele
Subject Re: pgsql: Make crash recovery ignore recovery target settings.
Date
Msg-id eb2ffb53-4ba7-acc9-4fa8-9b75bfa0ef40@pgmasters.net
Whole thread Raw
In response to Re: pgsql: Make crash recovery ignore recovery target settings.  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: pgsql: Make crash recovery ignore recovery target settings.  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-committers
On 9/29/19 11:02 PM, Fujii Masao wrote:
> On Mon, Sep 30, 2019 at 11:45 AM Michael Paquier <michael@paquier.xyz> wrote:
>>
>> Hi Fujii-san,
>>
>> On Mon, Sep 30, 2019 at 01:21:00AM +0000, Fujii Masao wrote:
>>> Make crash recovery ignore recovery target settings.
>>>
>>> In v11 or before, recovery target settings could not take effect in
>>> crash recovery because they are specified in recovery.conf and
>>> crash recovery always starts without recovery.conf. But commit
>>> 2dedf4d9a8 integrated recovery.conf into postgresql.conf and
>>> which unexpectedly allowed recovery target settings to take effect
>>> even in crash recovery. This is definitely not good behavior.
>>>
>>> To fix the issue, this commit makes crash recovery always ignore
>>> recovery target settings.
>>>
>>> Back-patch to v12.
>>
>> It would be nice to avoid committing stuff into REL_12_STABLE until
>> the version is tagged (not stamped!) as the tarball wrap for the GA of
>> this week is going to be soon.
> 
> I was thinking this is open item for v12 and needs to be fixed before GA.
> But per discussion in pgsql-release, the consensus seems to be to
> ship GA first and fix that after GA. Sorry for my inattention...
> I suspend to commit other recovery-related things until GA is tagged.

I'm surprised that we would consider going to GA with an issue like this
outstanding.

-- 
-David
david@pgmasters.net



pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Add libpq parameter 'channel_binding'.
Next
From: Fujii Masao
Date:
Subject: Re: pgsql: doc: Further clarify how recovery target parameters are applied