Back-patch fixes for some issues in our Windows socket code into 9.1.
This is a backport of commit b85427f2276d02756b558c0024949305ea65aca5.
Per discussion of bug #4958. Some of these fixes probably need to be
back-patched further, but I'm just doing this much for now.
Branch
------
REL9_1_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/ed597d0c322dd42c362701125d4ff55eb7b675f5
Modified Files
--------------
src/backend/port/win32/socket.c | 40 +++++++++++++++++++++++++-------------
src/backend/port/win32_latch.c | 16 +++++++-------
2 files changed, 34 insertions(+), 22 deletions(-)