Re: pause recovery if pitr target not reached - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: pause recovery if pitr target not reached
Date
Msg-id 0ab2dae6-9f3d-01bb-d760-9d94b90f92dc@2ndquadrant.com
Whole thread Raw
In response to Re: pause recovery if pitr target not reached  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Responses Re: pause recovery if pitr target not reached  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Re: pause recovery if pitr target not reached  ("Leif Gunnar Erlandsen" <leif@lako.no>)
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: [PATCH] /src/backend/access/transam/xlog.c, tiny improvements
Next
From: Asim Rama Praveen
Date:
Subject: Re: Replication & recovery_min_apply_delay