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.
| Major | Current minor | Support ends | Pick when |
|---|---|---|---|
| 14 | 14.25 | 2026-11-12 | Source to retire |
| 15 | 15.20 | 2027-11-11 | Temporary bridge if dependencies block newer targets |
| 16 | 16.16 | 2028-11-09 | Provider/extensions require it |
| 17 | 17.12 | 2029-11-08 | Full stack already qualified here |
| 18 | 18.7 | 2030-11-14 | Preferred runway if compatibility tests pass |
| 19 | 19.0 | 2031-11-19 | Qualify 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
| Method | Pick when | Pitfall |
|---|---|---|
| pg_upgrade | Self-hosted, binaries/files accessible, outage allowed | Extension binaries/settings must match; copy mode needs disk |
| pg_dump / pg_restore | Export/restore fits a measured outage; changing hosts | Rebuilds objects/indexes; roles need separate handling |
| Logical replication | Short cutover justifies running two clusters | Monitor 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.
| Provider | Policy / action |
|---|---|
| AWS RDS | 14 standard support ends 2027-02-28; paid Extended Support starts 2027-03-01, ends 2030-02-28. Check eligible minor and upgrade path. |
| Aurora | Same 14 standard/extended dates as RDS above; cluster workflow is Aurora-specific. VersionMgmt page unreadable; calendar readable. |
| Cloud SQL | 14 extended support starts 2027-02-01; deprecation 2030-02-01. Budget and qualify target. |
| Azure policy | Standard support ends 2027-01-31, matching Extended Support, where automatic paid coverage runs 2027-02-01 through 2029-11-11. Confirm with Azure. |
| Supabase | Dashboard upgrade has outage, replica and extension restrictions. No precise 14 EOL/extended-support guarantee found here; confirm eligibility. |
| Neon | Currently 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