Bump MIN_WINNT to 0x0600 (Vista) as minimal runtime in 16~
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Cc: Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
Date: 2022-05-26T02:59:40Z
Lists: pgsql-hackers
Attachments
- 0001-Bump-WIN_MINNT-to-0x0600-everywhere.patch (text/x-diff) patch 0001
Hi all, On the thread about the removal of VS 2013, Jose (in CC) has mentioned that bumping MIN_WINNT independently would make sense, as the simplication of locales would expose under MinGW some code for GetLocaleInfoEx(): https://www.postgresql.org/message-id/CAC+AXB3himFH+-pGRO1cYju6zF2hLH6VmwPbf5RAytF1UBm_nw@mail.gmail.com Attached is a patch to set MIN_WINNT, the minimal version of Windows allowed at run-time to 0x0600 for all environments, aka Vista. This results in removing the support for XP at run-time when compiling with anything else than VS >= 2015 (VS 2013, MinGW, etc.). We could cut things more, I hope, but this bump makes sense in itself with the business related to locales. What I would like to do is to apply that at the beginning of the dev cycle for v16, in parallel of the removal of VS 2013. This move is rather independent of the other thread, which is why I am spawning a new one here. And it is better than having to dig into the other thread for a change like that. Thoughts or opinions? -- Michael
Commits
-
doc: Fix incorrect version list for Windows SDK
- 08c45ae23566 16.0 landed
-
Replace loading of ldap_start_tls_sA() by direct function call
- c3fb5809eae3 16.0 landed
-
Replace load of functions by direct calls for some WIN32
- 47bd0b3fa601 16.0 landed
-
Cleanup more code and comments related to Windows NT4 (XP days)
- b1ec7f47e396 16.0 landed
-
Make Windows 10 the minimal runtime requirement for WIN32
- 495ed0ef2d72 16.0 landed