]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Revert "graceful shutdown" changes for Windows, in back branches only.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Jan 2022 17:17:40 +0000 (12:17 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 25 Jan 2022 17:17:40 +0000 (12:17 -0500)
commit213c5aa3bdba5783529d3c0f103dbfadf4f93f50
treefa8607d98c5e8b7852ddf86ae9a5ba6ebaa990d2
parentf8807e7742e5ce058b6fe05d797852e082e6d2c8
Revert "graceful shutdown" changes for Windows, in back branches only.

This reverts commits 6051857fc and ed52c3707, but only in the back
branches.  Further testing has shown that while those changes do fix
some things, they also break others; in particular, it looks like
walreceivers fail to detect walsender-initiated connection close
reliably if the walsender shuts down this way.  We'll keep trying to
improve matters in HEAD, but it now seems unwise to push these changes
into stable releases.

Discussion: https://postgr.es/m/CA+hUKG+OeoETZQ=Qw5Ub5h3tmwQhBmDA=nuNO3KG=zWfUypFAw@mail.gmail.com
src/backend/libpq/pqcomm.c