pgsql: Support building with Visual Studio 2015

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Support building with Visual Studio 2015
Date: 2016-04-29 12:07:19
Message-ID: E1aw7CZ-0001hx-6N@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Support building with Visual Studio 2015

Adjust the way we detect the locale. As a result the minumum Windows
version supported by VS2015 and later is Windows Vista. Add some tweaks
to remove new compiler warnings. Remove documentation references to the
now obsolete msysGit.

Michael Paquier, somewhat edited by me, reviewed by Christian Ullrich.

Backpatch to 9.5

Branch
------
REL9_5_STABLE

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

Modified Files
--------------
doc/src/sgml/install-windows.sgml | 29 +++++++++--------
src/backend/port/win32/crashdump.c | 14 ++++++++
src/bin/pg_basebackup/pg_basebackup.c | 9 ++++--
src/include/port/win32.h | 22 ++++++++++---
src/port/chklocale.c | 61 +++++++++++++++++++++++++++--------
src/port/win32env.c | 3 ++
src/tools/msvc/MSBuildProject.pm | 23 +++++++++++++
src/tools/msvc/Solution.pm | 26 +++++++++++++++
src/tools/msvc/VSObjectFactory.pm | 12 +++++--
9 files changed, 165 insertions(+), 34 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2016-04-29 12:09:30 pgsql: Support building with Visual Studio 2015
Previous Message Stephen Frost 2016-04-29 12:05:15 Re: pgsql: Reserve the "pg_" namespace for roles

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2016-04-29 12:13:42 Re: VS 2015 support in src/tools/msvc
Previous Message Alvaro Herrera 2016-04-29 11:40:39 Re: [sqlsmith] Failed assertion in BecomeLockGroupLeader