"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