Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

pgsql: Unconditionally use the WSA equivalents of Socket error constant - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Unconditionally use the WSA equivalents of Socket error constant
Date
Msg-id E1VE200-0001M8-MO@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Unconditionally use the WSA equivalents of Socket error constants.

This change will only apply to mingw compilers, and has been found
necessary by late versions of the mingw-w64 compiler. It's the same as
what is done elsewhere for the Microsoft compilers.

Backpatch of commit 73838b5251e.

Problem reported by Michael Cronenworth, although not his patch.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/e536d47ab7eb447ef0be849a8b2e06ae9080017c

Modified Files
--------------
src/include/port/win32.h |   30 ++++++++++--------------------
1 file changed, 10 insertions(+), 20 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: doc: Explain that ereport doesn't return for ERROR or higher lev
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Unconditionally use the WSA equivalents of Socket error constant