Re: Bump MIN_WINNT to 0x0600 (Vista) as minimal runtime in 16~

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Thomas Munro <thomas.munro@gmail.com>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>, Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>
Date: 2022-05-26T04:27:52Z
Lists: pgsql-hackers
On Thu, May 26, 2022 at 04:16:40PM +1200, Thomas Munro wrote:
> I think we should drop everything older than Win 10 for PG16, as
> argued in various threads where various pain points came up.  For one
> thing, that would make a lot of future work simpler (ie not needing to
> test alternative code paths on dead computers without CI or BF, AKA
> dead code), and also I don't think we really help anyone by allowing
> new database deployments on operating systems that aren't receiving
> vendor patches on the world's most attacked operating system.  Doing
> it incrementally is fine by me, too, though, if it makes the patches
> and discussions easier...

Is there anything posted recently that would require that?  Perhaps
the async work?  FWIW, I agree to be much more aggressive, but there
is nothing in the tree now that depends on _WIN32_WINNT, except one
change for the locales.
--
Michael

Commits

  1. doc: Fix incorrect version list for Windows SDK

  2. Replace loading of ldap_start_tls_sA() by direct function call

  3. Replace load of functions by direct calls for some WIN32

  4. Cleanup more code and comments related to Windows NT4 (XP days)

  5. Make Windows 10 the minimal runtime requirement for WIN32