postgresql_16:4.3.1.4 Cleaning and Installing
PostgreSQL 16 > Server Administration > Installation from Source Code on Windows > Building with Visual C++ or the Microsoft Windows SDK > Cleaning and Installing
Most of the time, the automatic dependency tracking in Visual Studio will handle changed files. But if there have been large changes, you may need to clean the installation. To do this, simply run the clean.bat command, which will automatically clean out all generated files. You can also run it with the dist parameter, in which case it will behave like make distclean and remove the flex/bison output files as well.
By default, all files are written into a subdirectory of the debug or release directories. To install these files using the standard layout, and also generate the files required to initialize and use the database, run the command: install c:\destination\directory
If you want to install only the client applications and interface libraries, then you can use these commands: install c:\destination\directory client