Обсуждение: pgsql: Improve TranslateSocketError() to handle more Windows error code

Поиск
Список
Период
Сортировка

pgsql: Improve TranslateSocketError() to handle more Windows error code

От
Tom Lane
Дата:
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
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/82bf369ed6eac67c7a6138591bd38136daad7223

Modified Files
--------------
src/backend/port/win32/socket.c | 55 ++++++++++++++++++++++++++++++++---------
src/include/port/win32.h        | 16 ++++++++++--
2 files changed, 58 insertions(+), 13 deletions(-)