pgsql: Remove support for Visual Studio 2013

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove support for Visual Studio 2013
Date: 2022-07-14 02:23:51
Message-ID: E1oBoW7-0003ys-BC@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove support for Visual Studio 2013

No members of the buildfarm are using this version of Visual Studio,
resulting in all the code cleaned up here as being mostly dead, and
VS2017 is the oldest version still supported.

More versions could be cut, but the gain would be minimal, while
removing only VS2013 has the advantage to remove from the core code all
the dependencies on the value defined by _MSC_VER, where compatibility
tweaks have accumulated across the years mostly around locales and
strtof(), so that's a nice isolated cleanup.

Note that this commit additionally allows a revert of 3154e16. The
versions of Visual Studio now supported range from 2015 to 2022.

Author: Michael Paquier
Reviewed-by: Juan José Santamaría Flecha, Tom Lane, Thomas Munro, Justin
Pryzby
Discussion: https://postgr.es/m/YoH2IMtxcS3ncWn+@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6203583b72b58272010f8d06999811ff39922acf

Modified Files
--------------
configure | 7 +++---
configure.ac | 7 +++---
doc/src/sgml/install-windows.sgml | 8 +++----
src/backend/main/main.c | 5 -----
src/backend/optimizer/path/costsize.c | 4 +---
src/backend/utils/adt/float.c | 6 +-----
src/backend/utils/adt/pg_locale.c | 40 -----------------------------------
src/include/port/win32_port.h | 7 +-----
src/port/chklocale.c | 33 +++++------------------------
src/port/strtof.c | 9 --------
src/tools/msvc/MSBuildProject.pm | 27 +----------------------
src/tools/msvc/README | 8 +++----
src/tools/msvc/Solution.pm | 28 ------------------------
src/tools/msvc/VSObjectFactory.pm | 12 ++---------
14 files changed, 24 insertions(+), 177 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message John Naylor 2022-07-14 02:39:27 pgsql: Correct some uses of e.g. and i.e. in message strings and docume
Previous Message Michael Paquier 2022-07-13 23:38:50 pgsql: Fix output of createuser --help with --valid-until