Dear readers of our blog, we'd like to recommend you to visit the main page of our website, where you can learn about our product SQLS*Plus and its advantages.
 
SQLS*Plus - best SQL Server command line reporting and automation tool! SQLS*Plus is several orders of magnitude better than SQL Server sqlcmd and osql command line tools.
 

REQUEST COMPLIMENTARY SQLS*PLUS LICENCE

Enteros UpBeat offers a patented database performance management SaaS platform. It proactively identifies root causes of complex revenue-impacting database performance issues across a growing number of RDBMS, NoSQL, and deep/machine learning database platforms. We support Oracle, SQL Server, IBM DB2, MongoDB, Casandra, MySQL, Amazon Aurora, and other database systems.

Installing PostgreSQL 11 on Windows. Step-by-step instruction

6 August 2020

how to install PostgreSQL 11 on Windows

We will take a closer look at how to install PostgreSQL 11 on Windows, you will learn where to download PostgreSQL 11 for Windows, how the installation process looks like and how to connect to the PostgreSQL server.

PostgreSQL is a free database management system (DBMS). PostgreSQL 11 is the new version of this DBMS.

Step-by-step description of PostgreSQL 11 installation on Windows

PostgreSQL is implemented for many operating systems: Windows, Linux, macOS. Now we will consider in detail all the steps you need to perform in order to install PostgreSQL on Windows operating system: starting from loading graphical installer, which, by the way, includes pgAdmin 4 – a graphical management tool PostgreSQL, with which you can write SQL queries, and ending with the Russification of pgAdmin 4.

Step 1 – Booting the graphical PostgreSQL 11 installer for Windows

You can of course download PostgreSQL 11 for Windows from the official PostgreSQL website, here is the link – https://www.postgresql.org/download/windows/.

After going to the page we can immediately click on the link “Download the installer”, in this case we will be taken to the site of EnterpriseDB company, which prepares graphics distributions PostgreSQL for many platforms, including Windows.

Then we choose the platform and version of PostgreSQL, in our case – it is Windows and PostgreSQL 11. Click on the link “Windows x86-64” – this is the version for 64-bit versions of Windows.

As a result, you should download the file postgresql-11.0-1-windows-x64.exe with the size of approximately 187 megabytes.

Step 2 – Running the PostgreSQL installer 11

Run the downloaded file. At first the installer will check if all the necessary components are present, in particular Visual C++ Redistributable, if necessary, i.e. if they are absent, it will install them itself.

After that a welcome window will be opened, click “Next”.

Running the PostgreSQL installer 11

Step 3 – Specify the directory to install PostgreSQL 11

Then we need to specify the path to the directory where we want to install PostgreSQL 11, but we can leave it as default. If necessary, specify the path and click “Next”.

Specify the directory to install PostgreSQL 11

Step 4 – Choose components for installation

On this step we can mark the components that we need to install, as you can see, among the components there is pgAdmin 4, leave the checkboxes against the components that we need and click “Next”.

Choose components for installation

Step 5 – Specify a directory for database files

Next, we need to specify the directory where the database files will be located by default. In this case it is better to specify a separate drive. Click “Next”.

Specify a directory for database files

Step 6 – Set a password for the postgres system user

Now we need to set a password for the postgres user, in other words, for the PostgreSQL Server administrator. We enter the password and confirm it. Click “Next”.

Set a password for the postgres system user

Step 7 – Specify the port for your PostgreSQL instance

Next, if necessary, we can change the port where PostgreSQL Server will work, but we can leave it by default. Click “Next”.

Specify the port for your PostgreSQL instance

Step 8 – Specify the encoding in the database

Then, if there is a need to specify a specific data encoding in the database, we can select the desired Locale from the drop-down list. I leave it as default, click “Next”.

Specify the encoding in the database

Step 9 – Checking PostgreSQL installation parameters

Here we just check the parameters we entered earlier for PostgreSQL installation, if everything is correct, i.e. everything you entered is pressed “Next”.

Checking PostgreSQL installation parameters

Step 10 – Start the installation process

To start the PostgreSQL installation process in this window, click “Next”.

Start the installation process

The installation has begun.

The installation has begun.

Step 11 – Finishing the installation

The PostgreSQL 11 installation process takes only 2-3 minutes. When you see the message “Completing the PostgreSQL Setup Wizard” the PostgreSQL installation, pgAdmin 4 and other components will be completed.

In the last window we will be offered to run Stack Builder to load and install additional components, if you do not need anything, then uncheck “Lanch Stack Builder at exit?” and press “Finish”.

Finishing the installation

Run pgAdmin 4 and connect to PostgreSQL server 11

pgAdmin 4 you have installed together with PostgreSQL, to start pgAdmin 4 press “Start Menu – > PostgreSQL 11 -> pgAdmin 4”.

The new version of pgAdmin 4 has a web interface, so you will launch a browser that will open the pgAdmin 4 application.

To connect to your newly installed local PostgreSQL 11 server in your server browser, click on “PostgreSQL 11”.

This will launch the “Connect to Server” window, where you need to enter the password of the system user postgres, i.e. it is the password that you invented when installing PostgreSQL. Enter the password, tick “Save Password” to save the password, and each time you do not enter it, click “OK”.

Run pgAdmin 4 and connect to PostgreSQL server 11

As a result you will connect to a local PostgreSQL server.

As a result you will connect to a local PostgreSQL server

Getting Started with PostgreSQL 11 for Windows 10 | 2020

 
Tags: , ,

MORE NEWS

 

Preamble​​NoSql is not a replacement for SQL databases but is a valid alternative for many situations where standard SQL is not the best approach for...

Preamble​​MongoDB Conditional operators specify a condition to which the value of the document field shall correspond.Comparison Query Operators $eq...

5 Database management trends impacting database administrationIn the realm of database management systems, moreover half (52%) of your competitors feel...

The data type is defined as the type of data that any column or variable can store in MS SQL Server. What is the data type? When you create any table or...

Preamble​​MS SQL Server is a client-server architecture. MS SQL Server process starts with the client application sending a query.SQL Server accepts,...

First the basics: what is the master/slave?One database server (“master”) responds and can do anything. A lot of other database servers store copies of all...

Preamble​​Atom Hopper (based on Apache Abdera) for those who may not know is an open-source project sponsored by Rackspace. Today we will figure out how to...

Preamble​​MongoDB recently introduced its new aggregation structure. This structure provides a simpler solution for calculating aggregated values rather...

FlexibilityOne of the most advertised features of MongoDB is its flexibility.  Flexibility, however, is a double-edged sword. More flexibility means more...

Preamble​​SQLShell is a cross-platform command-line tool for SQL, similar to psql for PostgreSQL or MySQL command-line tool for MySQL.Why use it?If you...

Preamble​​Writing an application on top of the framework on top of the driver on top of the database is a bit like a game on the phone: you say “insert...

Preamble​​Oracle Coherence is a distributed cache that is functionally comparable with Memcached. In addition to the basic function of the API cache, it...

Preamble​​IBM pureXML, a proprietary XML database built on a relational mechanism (designed for puns) that offers both relational ( SQL / XML ) and...

  What is PostgreSQL array? In PostgreSQL we can define a column as an array of valid data types. The data type can be built-in, custom or enumerated....

Preamble​​If you are a Linux sysadmin or developer, there comes a time when you need to manage an Oracle database that can work in your environment.In this...

Preamble​​Starting with Microsoft SQL Server 2008, by default, the group of local administrators is no longer added to SQL Server administrators during the...