postgresql/src
Michael Paquier 495ed0ef2d Make Windows 10 the minimal runtime requirement for WIN32
This commit bumps the runtime value of _WIN32_WINNT to be 0x0A00 for any
builds on Windows.  Hence, this makes Windows 10 the minimal requirement
when running PostgreSQL under WIN32, be it for builds of Cygwin, MinGW
or Visual Studio.

The previous minimal runtime version was either Windows Vista when
building with at least Visual Studio 2015 or Windows XP for the rest.

Windows 10 is the most modern version supported by Microsoft, and per
discussion, as we don't have buildfarm members that run older versions
anymore, this is the minimal supported version that suits better for our
needs.  This will actually make easier the development of some patches,
two being async I/O and large page handling by avoiding a lot of
compatibility gotchas, on platforms that have most likely few users
anyway.

It is possible to remove MIN_WINNT in win32.h and the macros
IsWindowsXXXOrGreater() that were used in the code at runtime to check
which version of Windows was getting used.  The change in pg_locale.c
comes from Juan.  Note that all my tests passed, and that the CI is
green.  The buildfarm will quickly tell if this needs more adjustments.

Author: Michael Paquier, Juan José Santamaría Flecha
Reviewed-by: Thomas Munro
Discussion: https://postgr.es/m/Yo7tHKD8VCkeNi71@paquier.xyz
2022-07-07 13:25:45 +09:00
..
backend Make Windows 10 the minimal runtime requirement for WIN32 2022-07-07 13:25:45 +09:00
bin Make Windows 10 the minimal runtime requirement for WIN32 2022-07-07 13:25:45 +09:00
common Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
fe_utils Remove redundant null pointer checks before PQclear and PQconninfoFree 2022-07-03 20:11:05 +02:00
include Make Windows 10 the minimal runtime requirement for WIN32 2022-07-07 13:25:45 +09:00
interfaces Reorder ecpg_config.h.in alphabetically 2022-07-06 07:16:46 +02:00
makefiles Unify DLSUFFIX on Darwin 2022-07-06 07:41:33 +02:00
pl PL/Python: Update guide to alternative expected files 2022-06-27 12:53:05 +02:00
port Remove redundant null pointer checks before free() 2022-07-03 11:47:15 +02:00
template Unify DLSUFFIX on Darwin 2022-07-06 07:41:33 +02:00
test Clean up some includes and comments in TAP test scripts 2022-07-07 10:13:01 +09:00
timezone Update time zone data files to tzdata release 2022a. 2022-05-05 14:54:53 -04:00
tools Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
tutorial
.gitignore
DEVELOPERS
Makefile
Makefile.global.in Remove LLVM_CONFIG from Makefile.global.in 2022-07-06 08:11:39 -07:00
Makefile.shlib Tiny capitalization adjustment in pkg-config files 2022-07-06 10:35:33 +02:00
nls-global.mk Improve frontend error logging style. 2022-04-08 14:55:14 -04:00