]> granicus.if.org Git - postgresql/commit
Improve TranslateSocketError() to handle more Windows error codes.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Apr 2016 20:58:47 +0000 (16:58 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Apr 2016 20:58:47 +0000 (16:58 -0400)
commit125ad539a275db5ab8f4647828b80a16d02eabd2
treed026def8ccb244b83a1c1e5de9f73486fb261c82
parente54528155a3c4159b01327534691c3342a371cab
Improve TranslateSocketError() to handle more Windows error codes.

The coverage was rather lean for cases that bind() or listen() might
return.  Add entries for everything that there's a direct equivalent
for in the set of Unix errnos that elog.c has heard of.
src/backend/port/win32/socket.c
src/include/port/win32.h