Andres Freund wrote:
> Fix bug that can cause walsender not to terminating at shutdown.
>
> When backpatching c6c333436 I (Andres Freund) mis-resolved a conflict
> in the 9.4 branch. Unfortunately that leads to walsenders waiting
> forever when shutting down with connected standbys, unless immediate
> mode is used, or the standbys are forced to disconnect by other means.
Hmm, I think we should issue a new 9.4 release with this bug fix.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services