

When building, make sure there are no tools from MinGW or Cygwin present in your system PATH. The tools for building using Visual C++ or Platform SDK are in the src\tools\msvc directory. Compilation is supported down to Windows 7 and Windows Server 2008 R2 SP1 when building with Visual Studio 2013 to Visual Studio 2022. 64-bit PostgreSQL builds are supported with Microsoft Windows SDK version 8.1a to 10 or Visual Studio 2013 and above. 32-bit PostgreSQL builds are possible with Visual Studio 2013 to Visual Studio 2022, as well as standalone Windows SDK releases 8.1a to 10. If you do not already have a Visual Studio environment set up, the easiest ways are to use the compilers from Visual Studio 2022 or those in the Windows SDK 10, which are both free downloads from Microsoft.īoth 32-bit and 64-bit builds are possible with the Microsoft Compiler suite. These compilers can be either from Visual Studio, Visual Studio Express or some versions of the Microsoft Windows SDK. PostgreSQL can be built using the Visual C++ compiler suite from Microsoft.

Special Considerations for 64-Bit Windows 18.1.3.
