PostgreSQL 12

End of life

Is PostgreSQL 12 still supported?

No

PostgreSQL 12 reached end of life on Nov 21, 2024 (2 years ago). It no longer gets updates, including security fixes. Upgrade to PostgreSQL 19 (latest 19.0), supported until Nov 19, 2031.

Released
Oct 3, 2019
End of life
Nov 21, 2024
2 years ago
Latest version
12.22
Nov 18, 2024

Dates checked against PostgreSQL's versioning policy on Oct 29, 2026.

Not sure? Run psql -c "SELECT version();"

Where else PostgreSQL 12 is supported

PostgreSQL's own end-of-life date for 12 is Nov 21, 2024. These platforms and packages keep their own schedule, so the date that applies to you depends on where it runs.

Where it runsSupported untilNotes
Amazon RDS for PostgreSQL Feb 28, 2025
1 year ago
Paid extended support until Feb 29, 2028
Amazon Aurora PostgreSQL Feb 28, 2025
1 year ago
Paid extended support until Feb 29, 2028

Dates for hosted services come from each provider's own lifecycle page. A distro package can keep an older version number with security fixes backported.

Upgrade path

The recommended upgrade is PostgreSQL 19, currently at 19.0 and supported until Nov 19, 2031.

How to upgrade from PostgreSQL 12 to PostgreSQL 19

Minor releases (e.g. 19.x to 19.0) never need a dump or pg_upgrade: install the packages and restart. A new major version does.

Ubuntu / Debian (PGDG repository)

sudo apt update
sudo apt install --only-upgrade postgresql-19
sudo systemctl restart postgresql

New major version on Ubuntu / Debian

sudo apt install postgresql-19
pg_lsclusters

Then run sudo pg_upgradecluster <old-version> main. It migrates the old cluster onto version 19.

Docker

docker pull postgres:19

Official upgrade guide ↗ Back up first, and test on a non-production machine when you move to a new branch.

Quick answers

Is PostgreSQL 12 still supported?
No. PostgreSQL 12 reached end of life on Nov 21, 2024 (2 years ago). It no longer gets updates, including security fixes. Upgrade to PostgreSQL 19 (latest 19.0), supported until Nov 19, 2031.
When is PostgreSQL 12 end of life?
PostgreSQL 12 reached end of life on Nov 21, 2024. It gets no more updates, including security fixes.
What is the latest version of PostgreSQL 12?
The latest PostgreSQL 12 release is 12.22, released on Nov 18, 2024.
When was PostgreSQL 12 released?
PostgreSQL 12 was released on Oct 3, 2019.
What should I upgrade PostgreSQL 12 to?
The recommended upgrade is PostgreSQL 19, currently at 19.0 and supported until Nov 19, 2031.
How do I check which PostgreSQL version I have?
Run psql -c "SELECT version();", then paste the result into the “Am I up to date?” box on this page.
Where is PostgreSQL 12 supported after Nov 21, 2024?
Some platforms keep PostgreSQL 12 on their own schedule: Amazon RDS for PostgreSQL until Feb 28, 2025; Amazon Aurora PostgreSQL until Feb 28, 2025. Their dates apply only to their own hosted or packaged copies.

Other PostgreSQL branches

All 33 →
  • 18 Supported
  • 17 Supported
  • 16 Supported
  • 15 Supported
  • 14 End of life
  • 13 End of life
  • 12 End of life
  • 11 End of life
  • 10 End of life
  • 9.6 End of life
  • 9.5 End of life
  • 9.4 End of life
  • 9.3 End of life

← PostgreSQL 11 PostgreSQL 13 →

PostgreSQL 12 release dates

RSS

Release dates for 23 PostgreSQL 12 versions, newest first.

  1. 12.22
  2. 12.21
  3. 12.20
  4. 12.19
  5. 12.18
  6. 12.17
  7. 12.16
  8. 12.15
  9. 12.14
  10. 12.13
All 23 releases
  1. 12.12
  2. 12.11
  3. 12.10
  4. 12.9
  5. 12.8
  6. 12.7
  7. 12.6
  8. 12.5
  9. 12.4
  10. 12.3
  11. 12.2
  12. 12.1
  13. 12.0

Keep track

PostgreSQL 12 latest version badge

People who run PostgreSQL 12 also check

Official release policy · Checked 2 hours ago · Dates checked against the vendor on Oct 29, 2026