Installing PostgreSQL on Windows
Here we use EnterpriseDB to download and install. EnterpriseDB is the only vendor in the world providing enterprise-grade products and services based on PostgreSQL.
Download address:https://www.enterprisedb.com/downloads/postgres-postgresql-downloads。

Double-click the downloaded installation package to start the installation

You can modify the installation path

Select the components to install; if unsure, just check all of them:

Set the database path

Set the superuser password

Set the port number; you can just use the default

Just click Next

Click Next

Uncheck the option and click Finish

Open pgAdmin 4

The pgAdmin home page is as follows

Click Servers > Postgre SQL 10 on the left

Enter the password and click OK

The control panel is as follows

Open SQL Shell (psql)
