Skip to content

Install PostgreSQL (Windows OS)

Procedure for installing PostgreSQL on Windows OS.

Limitations

If you are logged in with a full-width character account, such as an AzureAD dept account, an error may occur in the PostgreSQL installer. In that case, log in again with a half-width character account and run the installer.

Download PostgreSQL

  1. Access the following URL and download the module version you want to install from Windows x86-64.

https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
The PostgreSQL download page, listing the Windows x86-64 versions

Install PostgreSQL

  1. Run the downloaded file.Click 'Yes' if User Account Control appears.
    Click the "Next >" button.
    The first screen of the PostgreSQL installer, with the "Next >" button
  2. Change the installation destination (Installation Directory) as appropriate and click the "Next >" button. (If there are no special requirements, click the "Next >" button.)
    The screen for choosing the installation directory
  3. Confirm that "PostgreSQL Server" and "pgAdmin 4" are checked and click the "Next >" button. (Select other components as appropriate. If there are no special requirements, check all and click the "Next >" button.)
    The component selection screen, with "PostgreSQL Server" and "pgAdmin 4" checked
  4. Change the data file storage destination (Data Directory) as appropriate and click the "Next >" button. (If there are no special requirements, click the "Next >" button.)
    The screen for choosing the data directory
  5. Enter the postgres user password and click the "Next >" button. The password entered here will be used to set the connection string in "Rds.json", so be sure to record it.
    The screen for entering the postgres user password
  6. Change the port number as appropriate and click the "Next >" button. (If there are no special requirements, click the "Next >" button.)
    The screen for setting the port number
  7. Change the locale as appropriate and click the "Next >" button. (If there are no special requirements, click the "Next >" button.)
    The screen for choosing the locale
  8. Click the "Next >" button.
    The screen summarising the settings, with the "Next >" button
  9. Click the "Next >" button.
    The screen confirming the start of installation, with the "Next >" button
  10. Wait until the installation is complete.
    Progress screen while the installation is running
  11. Click the "Finish" button to complete this procedure.
    The PostgreSQL installer completion screen, with the "Finish" button