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.

Author: Marco Nenciarini
Reported-By: Abhijit Gharami, Marco Nenciarini
Discussion:
        http://postgr.es/m/1434ad79-ab0d-d6a9-4ea2-1afb1c06a...@2ndquadrant.it
        
http://postgr.es/m/caa5_dud0o1xym8onozhrepypu-t8nzklzs1pt2jpzp0ns+v...@mail.gmail.com
Backpatch: 9.4 only

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b51c8efc6aff292912d8e77235eae8eef7ec909c

Modified Files
--------------
src/backend/replication/walsender.c | 1 +
1 file changed, 1 insertion(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to