pgsql: Improve TranslateSocketError() to handle more Windows error code
Started by Tom Laneabout 10 years ago1 messagescomitters
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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/125ad539a275db5ab8f4647828b80a16d02eabd2
Modified Files
--------------
src/backend/port/win32/socket.c | 55 ++++++++++++++++++++++++++++++++---------
src/include/port/win32.h | 16 ++++++++++--
2 files changed, 58 insertions(+), 13 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers