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

From Fujii Masao
Subject Re: Standby accepts recovery_target_timeline setting?
Date
Msg-id CAHGQGwG-_BwOihwk725cnhkTnmiNgL0E+vrVsSqOc-iL-q+stw@mail.gmail.com
Whole thread Raw
In response to Re: Standby accepts recovery_target_timeline setting?  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
List pgsql-hackers
On Thu, Oct 10, 2019 at 5:52 AM Peter Eisentraut
<peter.eisentraut@2ndquadrant.com> wrote:
>
> On 2019-09-30 03:48, Fujii Masao wrote:
> > Also we need to do the same thing for other recovery options like
> > restore_command. Attached is the patch which makes crash recovery
> > ignore restore_command and recovery_end_command.
>
> This patch looks correct to me.

Thanks for the review! I committed the patch.

> Do we need to handle archive_cleanup_command?  Perhaps not.

No, because archive_command is basically executed by checkpointer
and this process cannot be invoked in crash recovery case.

> A check in recoveryApplyDelay() might be necessary.

Yes! We are discussing this issue at
https://www.postgresql.org/message-id/CAHGQGwEyD6HdZLfdWc+95g=VQFPR4zQL4n+yHxQgGEGjaSVheQ@mail.gmail.com

Regards,

-- 
Fujii Masao



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: dropping column prevented due to inherited index
Next
From: Amit Kapila
Date:
Subject: Re: maintenance_work_mem used by Vacuum