Historical version. PostgreSQL 12 has reached end of support. 2024-11-21. See the current manual.
Chapter 16. Installation from Source Code
Table of Contents
This chapter describes the installation of PostgreSQL using the source code distribution. If you are installing a pre-packaged distribution, such as an RPM or Debian package, ignore this chapter and read the packager's instructions instead.
If you are building PostgreSQL for Microsoft Windows, read this chapter if you intend to build with MinGW or Cygwin; but if you intend to build with Microsoft's Visual C++, see Chapter 17 instead.
Report a documentation issue
Read the upstream documentation. For corrections, first check the current manual.