]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Provide errno-translation wrappers around bind() and listen() on Windows.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Apr 2016 19:44:18 +0000 (15:44 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Apr 2016 19:44:18 +0000 (15:44 -0400)
commit5e2fb8862bfc4ba8f0ed4ce0b99931db91ad84b1
treea74e0bcc50364c7920c1a14edfdd858214e7db77
parent679c92238c74ed6c96e4251d7ea68f8a096ff674
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>
src/backend/port/win32/socket.c
src/include/port/win32.h