postgresql_16:4.3.1.3 Building
PostgreSQL 16 > Server Administration > Installation from Source Code on Windows > Building with Visual C++ or the Microsoft Windows SDK > Building
To build all of PostgreSQL in release configuration (the default), run the command: build To build all of PostgreSQL in debug configuration, run the command: build DEBUG To build just a single project, for example psql, run the commands: build psql build DEBUG psql To change the default build configuration to debug, put the following in the buildenv.pl file: $ENV{CONFIG}="Debug";
It is also possible to build from inside the Visual Studio GUI. In this case, you need to run: perl mkvcbuild.pl from the command prompt, and then open the generated pgsql.sln (in the root directory of the source tree) in Visual Studio.