On 2020-01-15 05:02, Kyotaro Horiguchi wrote:
> FWIW, I restate this (perhaps) more clearly.
>
> At Wed, 15 Jan 2020 11:02:24 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in
>> recvoery_target_* is not cleared after startup. If a server crashed
>> just after the last shutdown checkpoint, any recovery_target_* setting
>> prevents the server from starting regardless of its value.
>
> recvoery_target_* is not automatically cleared after a successful
> archive recovery. After that, if the server crashed just after the
> last shutdown checkpoint, any recovery_target_* setting prevents the
> server from starting regardless of its value.
Thank you for this clarification. Here is a new patch that addresses
that and also the other comments raised about my previous patch.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services