pgsql: Provide errno-translation wrappers around bind() and listen() on - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Provide errno-translation wrappers around bind() and listen() on
Date
Msg-id E1atKWj-0007ZY-Gv@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Provide errno-translation wrappers around bind() and listen() on Windows.

Fix Windows builds to report something useful rather than "could not bind
IPv4 socket: No error" when bind() fails.

Back-patch of commits d1b7d4877b9a71f4 and 22989a8e34168f57.

Discussion: <4065.1452450340@sss.pgh.pa.us>

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8f9518414baccac15bb028312f8db3b98e527c5c

Modified Files
--------------
src/backend/port/win32/socket.c | 24 ++++++++++++++++++++++++
src/include/port/win32.h        |  4 ++++
2 files changed, 28 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Provide errno-translation wrappers around bind() and listen() on
Next
From: Tom Lane
Date:
Subject: pgsql: Provide errno-translation wrappers around bind() and listen() on