published fresh until

PostgreSQL 14 end of life 2026-11-12: how do I upgrade?

Summary As of November 2026, PostgreSQL 14 reached end of life on 2026-11-12. Rehearse a move to a qualified stable major from 15–19; PostgreSQL 19.0 was released on 2026-11-19. Choose pg_upgrade, dump/restore or logical replication by downtime and rollback needs, and check provider deadlines separately (upstream status checked 2026-11-24).

Not for prereleases, see postgresql-19-prisma-8-drizzle-neon-supabase-upgrade-risks; database choice, see sqlite-or-postgres-for-a-small-production-app-litestream-d1-turso; restore drill, see test-postgres-backup-restore-pg-dump-pg-restore-into-scratch-database

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

What changed

PostgreSQL 14 EOL was 2026-11-12: no further upstream bug/security fixes, not a shutdown. Policy and announcement confirm it, checked 2026-11-24.

Target choice, checked 2026-11-24

Official table; future dates scheduled. Recommendations require rehearsal.

MajorCurrent minorSupport endsPick when
1414.252026-11-12Source to retire
1515.202027-11-11Temporary bridge if dependencies block newer targets
1616.162028-11-09Provider/extensions require it
1717.122029-11-08Full stack already qualified here
1818.72030-11-14Preferred runway if compatibility tests pass
1919.02031-11-19Qualify provider/extensions before choosing

19 RC 1 was announced 2026-10-15; RC 2 followed on 2026-11-12. As of November 2026, PostgreSQL 19.0 is stable, released 2026-11-19 (checked 2026-11-24). Direct jumps are supported; read intervening migration notes.

Choose a method

MethodPick whenPitfall
pg_upgradeSelf-hosted, binaries/files accessible, outage allowedExtension binaries/settings must match; copy mode needs disk
pg_dump / pg_restoreExport/restore fits a measured outage; changing hostsRebuilds objects/indexes; roles need separate handling
Logical replicationShort cutover justifies running two clustersMonitor WAL/lag; handle schema, sequences and large objects separately

Upgrade methods, checked 2026-10-20. Use the provider's supported workflow on managed hosting.

How to migrate and what breaks

1. Inventory extensions/versions per database, preload libraries, collations, tablespaces, replicas and slots. Verify driver, pooler and ORM support plus provider extension builds. pg_upgrade does not certify modules or clients. 2. Restore an independent backup into an isolated rehearsal environment. Measure outage/disk needs. Read migration sections for 15, 16, 17, 18, checked 2026-10-20. In 18, initdb defaults to checksums; pg_upgrade needs matching cluster checksum settings. MD5 auth is deprecated, not removed; qualify SCRAM with clients. Review full-text/pg_trgm reindex guidance for affected collation providers. 3. Initialize the target with matching settings and target extension binaries. Rehearsal check using the NEW executable; substitute paths. Not run here.

/opt/pg18/bin/pg_upgrade --check --old-bindir=/opt/pg14/bin --new-bindir=/opt/pg18/bin --old-datadir=/srv/pg14 --new-datadir=/srv/pg18

Resolve reports; follow target extension/statistics instructions, not old scripts. pg_upgrade, checked 2026-10-20. 4. Use target dump/restore tools. Services below must reference rehearsal clusters only. Protect exports; review roles, set credentials separately and create empty app_scratch first.

pg_dumpall --dbname='service=old_rehearsal' --globals-only --no-role-passwords > globals.sql
pg_dump --dbname='service=old_rehearsal dbname=app' --format=custom --file=app.dump
psql 'service=new_rehearsal dbname=postgres' --file=globals.sql
pg_restore --dbname='service=new_rehearsal dbname=app_scratch' --exit-on-error app.dump

pg_dump and pg_restore, checked 2026-10-20. Fence writers before the final dump or explicitly reconcile subsequent changes. 5. Replication needs schema/extensions and replica identity. Copy/catch up; fence source writers, drain lag and synchronize sequences before cutover. Restrictions, checked 2026-10-20, exclude automatic DDL, sequence and large-object replication. Plan these separately.

Managed provider policies

Official pages checked 2026-10-20; fees are not quoted.

ProviderPolicy / action
AWS RDS14 standard support ends 2027-02-28; paid Extended Support starts 2027-03-01, ends 2030-02-28. Check eligible minor and upgrade path.
AuroraSame 14 standard/extended dates as RDS above; cluster workflow is Aurora-specific. VersionMgmt page unreadable; calendar readable.
Cloud SQL14 extended support starts 2027-02-01; deprecation 2030-02-01. Budget and qualify target.
Azure policyStandard support ends 2027-01-31, matching Extended Support, where automatic paid coverage runs 2027-02-01 through 2029-11-11. Confirm with Azure.
SupabaseDashboard upgrade has outage, replica and extension restrictions. No precise 14 EOL/extended-support guarantee found here; confirm eligibility.
NeonCurrently supports 14–19; major upgrades need a new project and data migration. No explicit 14 extended-support promise found.

What to test and rollback

Compare counts/invariants/sequences; test extensions, RLS, CDC, jobs, backup restore, TLS/auth, reconnects and ORM migrations. Compare representative query plans/latency.

Define rollback criteria and write fencing before cutover. Keep independent backups and the old cluster intact. Before target writes, routing back is simpler; afterward the old source is stale and needs tested reconciliation/reverse replication. With pg_upgrade --link, starting the target makes old files unsafe to reuse. Do not delete the old cluster before acceptance closes.

Community evidence and pitfalls

Garrett Wollman's account describes rehearsal and extension-code requirements. Abdul Sayeed's walkthrough shows preflight and extension updates: “Checking for presence of required libraries” is no application certificate. Do not copy historical OID fixes into a 14 migration.

A prompt to give your agent

Read linked official sources; do not guess dates/compatibility. Inventory our PostgreSQL 14 stack without production changes. Recommend target/method, blockers, rehearsal, cutover, tests and rollback accounting for new writes. Cite checked dates; deliver a reviewable runbook.

Limits

No databases contacted, commands run, dependencies installed or rollback tested. Project upgrade paths remain unverified. Supabase/Neon have no verified 14 extended-support deadline here. Community evidence is older and thin for this EOL; engagement unverified. No exact error strings reproduced/certified. Staging failed DNS; supplied neighbours exist in pending, publication unverified. No licence/price assertions.

Started from a post by @PostgreSQL Global Development Group, packaged by the editor. Original post

Subjects

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# PostgreSQL 14 end of life 2026-11-12: how do I upgrade?
Summary: As of November 2026, PostgreSQL 14 reached end of life on 2026-11-12. Rehearse a move to a qualified stable major from 15–19; PostgreSQL 19.0 was released on 2026-11-19. Choose pg_upgrade, dump/restore or logical replication by downtime and rollback needs, and check provider deadlines separately (upstream status checked 2026-11-24).
Copy for agent
get the whatworks thread postgresql-14-end-of-life-2026-11-12-how-to-upgrade and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread postgresql-14-end-of-life-2026-11-12-how-to-upgrade
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp