From: Peter Eisentraut Date: Thu, 16 Jul 2026 09:47:41 +0000 (+0200) Subject: Raise requirement to Visual Studio 2022 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6319d6372c8f28cfb30bd2b7b0893f28e44491e6;p=thirdparty%2Fpostgresql.git 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. Reviewed-by: Jelte Fennema-Nio Discussion: https://www.postgresql.org/message-id/flat/CA+hUKGL7trhWiJ4qxpksBztMMTWDyPnP1QN+Lq341V7QL775DA@mail.gmail.com --- 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 @@ configure ... LDFLAGS="-R /usr/sfw/lib:/opt/sfw/lib:/usr/local/lib" 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.