Installation of postgresql under windows

download

Official website address
https://www.postgresql.org/
insert image description here
download page
https://www.postgresql.org/download/

insert image description here
Windows download page
https://www.postgresql.org/download/windows/
insert image description here
select version download
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
insert image description here

installation steps

start the installer
insert image description here
insert image description here
insert image description here
insert image description here

superuser setup password

insert image description here
insert image description here

localization settings

insert image description here

Installation Information

insert image description here
insert image description here

insert image description here

The installation is complete

insert image description here
Directory after successful installationinsert image description here

View postgresql service

insert image description here
insert image description here

Use of pgAdmin

insert image description here
insert image description here
insert image description here
insert image description here
insert image description here

Open the command line tool

insert image description here

Query the database version

insert image description here

create database

insert image description here
insert image description here

CREATE DATABASE cps
    WITH
    OWNER = postgres
    ENCODING = 'UTF8'
    CONNECTION LIMIT = -1
    IS_TEMPLATE = False;

Guess you like

Origin blog.csdn.net/Java_Fly1/article/details/132330973