PostgreSQL 12

PostgreSQL 12 12.22-1

The World's Most Advanced Open Source Relational Database

Download for Windows

About PostgreSQL 12

PostgreSQL is a powerful, open source object-relational database system with over 35 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance.

Technical details

PublisherPostgreSQL Global Development Group
Version12.22-1
LicensePostgreSQL
Installer typeexe
Architecturex64
Package IDPostgreSQL.PostgreSQL.12
Install scopeAll users

Install PostgreSQL 12 from the command line

Install with Windows Package Manager
winget install --id=PostgreSQL.PostgreSQL.12 -e
Update to the latest version
winget upgrade --id=PostgreSQL.PostgreSQL.12 -e
Uninstall
winget uninstall --id=PostgreSQL.PostgreSQL.12 -e
Silent install with the offline installer
"postgresql-12.22-1-windows-x64.exe" --mode unattended --unattendedmodeui none
Install to a custom folder
"postgresql-12.22-1-windows-x64.exe" --prefix "D:\Apps\PostgreSQL 12"

databasedb

PostgreSQL 12 version history

12.21-1
12.20-2
12.20-1

Other versions

  • 12.19-2
  • 12.19-1

Frequently asked questions

Is PostgreSQL 12 free?

PostgreSQL 12 is postgresql software from PostgreSQL Global Development Group. Check the publisher's license terms for pricing and usage rights.

What is the latest version of PostgreSQL 12?

The latest version is 12.22-1.

Is it safe to download PostgreSQL 12?

The download button links to the official installer published on get.enterprisedb.com, the same file Windows Package Manager installs. You can verify the downloaded file by comparing its SHA-256 checksum with 0f7f6eda581552aa697dd8fca1d370f9b157df501b229bd73aa42d08e36fc33e.

Which Windows versions does PostgreSQL 12 support?

PostgreSQL 12 runs on Windows and is available for 64-bit (x64) systems.

How do I install PostgreSQL 12 silently?

Run the offline installer with "postgresql-12.22-1-windows-x64.exe" --mode unattended --unattendedmodeui none, or install it with Windows Package Manager: winget install --id=PostgreSQL.PostgreSQL.12 -e --silent.

How do I uninstall PostgreSQL 12?

Open Settings › Apps › Installed apps, find PostgreSQL 12 and select Uninstall. From the command line, run winget uninstall --id=PostgreSQL.PostgreSQL.12 -e.