Skip to content

Install PostgreSQL 17 (Windows OS)

Procedure for installing PostgreSQL 17 on Windows OS.

Limitations

  1. Please refer to this page for instructions on installing PostgreSQL 18 on Windows OS.
  2. If you are logged in with a full-width character account, such as an Azure AD 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 17

  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 17

  1. Run the downloaded file.
    Click the "Next >" button.
    The first screen of the PostgreSQL 17 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 17 installer completion screen, with the "Finish" button