On Feb 10, 2026 Ronan Dunklau <ronan(at)dunklau(dot)fr> wrote:
> - however, if one were to stop the service before doing a pg_upgrade,
> they would have no other choice than either disable the behaviour
> entirely (by switching to wait_flush) or fail the upgrade if a logical
> replication slot is pending changes.
I agree with you, this idea is more flexible. So I changed the interface
from the one discussed in this thread from the very beginning to a timeout.
Propose an updated patch.
Best Regards,
Andrey