Redrock Postgres Documentation
Home Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Installing on Windows

To perform an installation using the graphical installation wizard, you must have superuser or administrator privileges.

The following section walks you through installing PostgreSQL on a Windows host.

To start the installation wizard, assume sufficient privileges and double-click the installer icon; if prompted, provide a password.

Note that in some versions of Windows, to invoke the installer with Administrator privileges, you need to right-click on the installer icon and select Run as Administrator from the context menu.

The Redrock Setup Welcome window opens. Click Next to continue.

Fig. 1: The Redrock 12 Setup Welcome dialog
Fig. 1: The Redrock 12 Setup Welcome dialog

The Choose Install Location window opens. Accept the default installation directory, or specify an alternate location and click Next to continue.

Fig. 2: Choose Install Location dialog
Fig. 2: Choose Install Location dialog

Click Next to continue.

The Choose Data Directory window opens. Accept the default location or specify the name of the alternate directory in which you wish to store the data files.

Fig. 3: Choose Data Directory dialog
Fig. 3: Choose Data Directory dialog

Click Next to continue.

The Server Options window opens.

Fig. 4: The Server Options dialog
Fig. 4: The Server Options dialog

PostgreSQL uses the Port field to specify the port number on which the server should listen. The default listener port is 5432.

Use the Locale field to specify the locale that will be used by the new database instance. The Default is the operating system locale.

Use the Superuser field to specify the database superuser name. The default superuser name is postgres.

Use the Password field to specify the database superuser password. The specified password should conform to enough complexities. After entering a password in the Password field, and confirming the password in the Retype Password field.

Click Next to continue.

Fig. 5: Setting Configuration Parameters dialog
Fig. 5: Setting Configuration Parameters dialog

The Setting Configuration Parameters dialog will guides you to optimize server performance by setting some important configuration parameters. Maybe you can let the installer tune configuration parameters automatically, and click Next to continue.

Fig. 6: The Choose Start Menu Folder
Fig. 6: The Choose Start Menu Folder

During the installation, the setup wizard confirms the installation progress of PostgreSQL via a series of progress bars.

Fig. 7: The Installing dialog
Fig. 7: The Installing dialog

When the Completing Redrock Setup window appears, Congratulations! Click Finish to complete the PostgreSQL installation.

Fig. 8: Completing Redrock 12 Setup
Fig. 8: Completing Redrock 12 Setup