There are three ways to install Postgres, and they are all listed on the Download menu on the Postgres website. While the web authors did their best to explain the differences between the various installation methods, I thought it would be helpful to more fully explain their advantaged and disadvantages. The three methods are:
- Graphical Installers (also called "one-click" or "click-through" installers)
- Advantages: Provide an easy-to-install Postgres environment with access to many add-on modules via Stack Builder. This is ideal for first-time Postgres users. It is also possible to use the installer in non-interactive mode.
- Disadvantages: As mentioned on the Postgres web site, the one click installers do not integrate with platform-specific packaging systems.
- Platform-Specific Installers
- Advantages: These are better integrated with other software installed on your operating system. This is ideal for production servers that rely on operating-system-supplied tools.
- Disadvantages: Requires work to identify which operating system pieces are needed for a complete solution. Also, many operating systems do not upgrade to newer major versions of Postgres without major operating system upgrades, requiring users wishing Postgres major upgrades to obtain them through non-standard channels.
- Source Code:
- Advantages: Allows selection of specific configure and compile options for Postgres binaries, and allows the addition of patches to enhance or fix Postgres. This is ideal for experienced users who can benefit from additional control of Postgres.
- Disadvantages: Requires compilation experience and managing Postgres tool integration.