From 4f31309f74dc0737d129326109ef545f2cdd8e86 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Wed, 10 Jun 2026 11:47:35 +0200 Subject: [PATCH v4 2/5] Raise requirement to Visual Studio 2022 The use of _Generic from commit "Replace __builtin_types_compatible_p with _Generic" causes compiler errors from VS 2019. Apparently, that compiler is just broken for that (even though it appears to support _Generic in general, for example in commit 59c2f03d1ec). Per discussion, just drop support for VS 2019 and require at least VS 2022. This just updates the documentation about that. In passing, some information about VS 2026 is added. Discussion: https://www.postgresql.org/message-id/flat/CA+hUKGL7trhWiJ4qxpksBztMMTWDyPnP1QN+Lq341V7QL775DA@mail.gmail.com --- doc/src/sgml/installation.sgml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml index b345a105674..37a0473d03e 100644 --- a/doc/src/sgml/installation.sgml +++ b/doc/src/sgml/installation.sgml @@ -3841,17 +3841,16 @@ Visual Studio Both 32-bit and 64-bit builds are possible with the Microsoft Compiler suite. 32-bit PostgreSQL builds are possible with - Visual Studio 2019 to Visual Studio 2022, as well as standalone Windows SDK releases 10 and above. 64-bit PostgreSQL builds are supported with Microsoft Windows SDK version 10 and above or - Visual Studio 2019 and above. + Visual Studio 2022 and above. -- 2.54.0