pgsql: Support building with Visual Studio 2015

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Support building with Visual Studio 2015
Date: 2018-09-11 20:11:45
Message-ID: E1fzp0j-0007GW-9K@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Rather belated backpatch to 9.4 and 9.3

Branch
------
REL9_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0482578328288220c01b3f38e55fd866f8351b25

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 | 5 ++-
src/tools/msvc/MSBuildProject.pm | 23 +++++++++++++
src/tools/msvc/Solution.pm | 26 +++++++++++++++
src/tools/msvc/VSObjectFactory.pm | 12 +++++--
9 files changed, 166 insertions(+), 35 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-09-11 20:32:53 pgsql: Remove ruleutils.c's special case for BIT [VARYING] literals.
Previous Message Andrew Gierth 2018-09-11 18:58:52 pgsql: Repair double-free in SP-GIST rescan (bug #15378)