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

From Leif Gunnar Erlandsen
Subject Re: pause recovery if pitr target not reached
Date
Msg-id 4002ac55e08cce42b7ec3672323f60ba@lako.no
Whole thread Raw
In response to Re: pause recovery if pitr target not reached  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: pause recovery if pitr target not reached
List pgsql-hackers
"Peter Eisentraut" <peter.eisentraut@2ndquadrant.com> skrev 22. november 2019 kl. 11:50:

> On 2019-11-21 13:50, Leif Gunnar Erlandsen wrote:
>
>> Pausing was choosen in the patch as pause was the expected behaivior if target was reached.
>
> Pausing is the expect behavior when the target is reached because that is the default setting of
> recovery_target_action. Your patch does not take recovery_target_action into account.

No it does not. It works well to demonstrate its purpose though.
And it might be to stop with FATAL would be more correct.

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



pgsql-hackers by date:

Previous
From: "Leif Gunnar Erlandsen"
Date:
Subject: Re: pause recovery if pitr target not reached
Next
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] WAL logging problem in 9.4.3?