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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Provide errno-translation wrappers around bind() and listen() on
Date: 2016-04-21 19:44:37
Message-ID: E1atKWj-0007ZY-Gv@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)1452450340(at)sss(dot)pgh(dot)pa(dot)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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2016-04-21 19:47:08 Re: [COMMITTERS] pgsql: Add trigonometric functions that work in degrees.
Previous Message Ants Aasma 2016-04-21 19:10:58 Re: [HACKERS] Re: pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold <