Revert "graceful shutdown" changes for Windows, in back branches only.
authorTom Lane <[email protected]>
Tue, 25 Jan 2022 17:17:40 +0000 (12:17 -0500)
committerTom Lane <[email protected]>
Tue, 25 Jan 2022 17:17:40 +0000 (12:17 -0500)
commit645c9457f296bdd674b3efc37047194db8233e66
treefa47175694cd8944185f34591d023d71577b377c
parent11cd377f53bf0a70518668936eef1ccce63381c7
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