]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Raise requirement to Visual Studio 2022
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 16 Jul 2026 09:47:41 +0000 (11:47 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 16 Jul 2026 10:03:05 +0000 (12:03 +0200)
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 <postgres@jeltef.nl>
Discussion: https://www.postgresql.org/message-id/flat/CA+hUKGL7trhWiJ4qxpksBztMMTWDyPnP1QN+Lq341V7QL775DA@mail.gmail.com

doc/src/sgml/installation.sgml

index b345a1056740a04d3a56a76040db9eb591d63993..37a0473d03e03533c83142098616ecbf6d2bf304 100644 (file)
@@ -3841,17 +3841,16 @@ configure ... LDFLAGS="-R /usr/sfw/lib:/opt/sfw/lib:/usr/local/lib"
    <para>
     Both 32-bit and 64-bit builds are possible with the Microsoft Compiler suite.
     32-bit PostgreSQL builds are possible with
-    <productname>Visual Studio 2019</productname> to
     <productname>Visual Studio 2022</productname>,
     as well as standalone Windows SDK releases 10 and above.
     64-bit PostgreSQL builds are supported with
     <productname>Microsoft Windows SDK</productname> version 10 and above or
-    <productname>Visual Studio 2019</productname> and above.
+    <productname>Visual Studio 2022</productname> and above.
     <!--
-        For 2019 requirements:
-        https://docs.microsoft.com/en-us/visualstudio/releases/2019/system-requirements
         For 2022 requirements:
-        https://docs.microsoft.com/en-us/visualstudio/releases/2022/system-requirements
+        https://learn.microsoft.com/en-us/visualstudio/releases/2022/system-requirements
+        For 2026 requirements:
+        https://learn.microsoft.com/en-us/visualstudio/releases/2026/vs-system-requirements
     -->
    </para>