Table of Contents Previous Next



Note that in some versions of Windows, you can invoke the installer with Administrator privileges by right clicking on the installer icon and selecting Run as Administrator from the context menu.
Click Next to continue. The Installation Directory window (Figure 3.2) opens.
Use options on the Select Components dialog (see Figure 3.3) to select which software components will be installed; select:
PostgreSQL Server to install the PostgreSQL database server.
pgAdmin 4 to install the pgAdmin 4 graphical database management client.
Stack Builder to install the Stack Builder utility; for more information about the Stack Builder utility, see Section 4.
Command Line Tools to install PostgreSQL tools such as:
psql, pg_isready, and pgbench
clusterdb, createdb, and dropdb
createuser and dropuser
pg_basebackup, pg_dump, pg_dumpall, and pg_restore
reindexdb, vacuumdb, and vacuumlo
Click Next to continue. The Data Directory window opens, as shown in Figure 3.4.
The Password window opens, as shown in Figure 3.5.
Figure 3.5 - The Password dialog.
PostgreSQL uses the password specified on the Password window for both the database superuser and the PostgreSQL service account.
PostgreSQL runs as a service in the background; the PostgreSQL service account is named postgres. If you have already created a service account with the name postgres, you must specify same password as the existing password for the postgres service account.
The specified password must conform to any security policies existing on the PostgreSQL host. After entering a password in the Password field, and confirming the password in the Retype Password field, click Next to continue.
Figure 3.6 - The Port dialog.
Use the Locale field to specify the locale that will be used by the new database cluster. The Default locale is the operating system locale (shown in Figure 3.7). Click Next to continue.
The Pre Installation Summary dialog (see Figure 3.8) displays the installation preferences that you have specified with the installation wizard. Review the settings; you can use the Back button to return to a previous dialog to modify a setting, or click Next to continue.
The Stack Builder utility provides a graphical interface that downloads and installs applications and drivers that work with PostgreSQL. You can optionally uncheck the Stack Builder box and click Finish to complete the PostgreSQL installation or accept the default and proceed to Stack Builder.


Table of Contents Previous Next