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.
-- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services