pgsql: Unconditionally use the WSA equivalents of Socket error constant

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Unconditionally use the WSA equivalents of Socket error constant
Date: 2013-08-20 18:18:58
Message-ID: E1VBqWA-0008Tm-Lz@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

If this doesn't upset older compilers in the buildfarm, it will be
backpatched to 9.1.

Problem reported by Michael Cronenworth, although not his patch.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/73838b5251ec64d1c90d5df0d0be7a5c19cfae12

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

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2013-08-21 11:33:25 pgsql: docs: Remove second 'trim' index reference
Previous Message Bruce Momjian 2013-08-20 13:39:46 pgsql: release notes: update link to 9.3 PL/pgSQL constraint error info