Jarwis.ClusterOps

Blog

PostgreSQL 14 is end-of-life: what to do next, and how to upgrade without a surprise

Jarwis Team · · 4 min read · PostgreSQL, Upgrades, Patroni

On 12 November 2026 the PostgreSQL Global Development Group shipped PostgreSQL 14.25 and announced that it was the final release in the 14 series. PostgreSQL 14 is now end-of-life: it will not receive further security or bug fixes. If you still have 14 in production, the work is no longer "plan an upgrade sometime next year". It is "pick a supported major and move".

The official versioning policy is at postgresql.org/support/versioning. Each major is supported for five years from its first release. As of late November 2026, the supported majors and their final release dates are:

  • PostgreSQL 15 — 11 November 2027
  • PostgreSQL 16 — 9 November 2028
  • PostgreSQL 17 — 8 November 2029
  • PostgreSQL 18 — 14 November 2030
  • PostgreSQL 19 — 19 November 2031

You do not have to step through every major in between. The project documents that you can upgrade from one major to another without installing the intervening versions, provided you read the release notes of every major you skip.

What "unsupported" actually means

The server will keep running. Applications will keep connecting. That is the trap. The risk is the next vulnerability or the next data-corruption fix: the community will not publish a 14.26. Your options become "leave it unpatched", "backport the change yourself", or "upgrade under pressure, later, with less time".

If you have a compliance requirement to run a supported database version, you are already past the date. If you do not, you are still accumulating risk that only moves in one direction.

Pick a target, then read the notes in between

A common policy is to land on the latest major you are willing to operate, or on N-1 if your change process wants a version that has already had a few minor releases. From 14, that usually means 17 or 18 today, or 16 if you need a longer settling-in period. PostgreSQL 15's own end-of-life is already on the calendar for November 2027, so treating 15 as a long-term home only buys you a year.

Whatever you choose, read the release notes of every major between 14 and the target before you run pg_upgrade. Settings get removed or renamed. Extensions need a build for the new major. Some applications trip over behaviour changes that are easy to miss if you only read the notes for the version you are installing.

How the upgrade works

A PostgreSQL major version changes the on-disk format. You cannot start 18 on a 14 data directory. The usual in-place tool is pg_upgrade, and for a planned short outage the usual shape is pg_upgrade --link: catalogs are converted and data files are hard-linked rather than copied. Downtime is typically minutes, even on large databases, and you do not need a second full copy of the data. The cost is that once the new cluster starts and writes, the old data directory is no longer a valid database. Your way back is the backup you took first.

On a Patroni cluster you upgrade the leader once and rebuild the replicas from it: pause Patroni, stop the replicas, stop the leader, run pg_upgrade --link on the leader, point Patroni at the new binaries and data directory, bring the leader up, re-initialise each replica, then resume Patroni.

We walked through --link, the point of no return, the post-upgrade ANALYZE, and the Patroni sequence in more detail in Upgrading PostgreSQL to the next major version with pg_upgrade --link, and rehearsing it first.

Rehearse on a restored copy

The difference between an uneventful cutover and a long night is almost always a rehearsal. Restore last night's backup onto a spare host, run the real pg_upgrade --link there, and start the new version. Then check:

  • Did every extension upgrade cleanly, and is there a package for the target major?
  • Do your settings still work? A parameter removed between 14 and the target will stop the new server from starting.
  • Do your important queries still plan well? pg_upgrade does not carry optimizer statistics across. Run EXPLAIN on the heaviest queries and compare with production, then vacuumdb --all --analyze-in-stages after the real cutover.
  • How long did it take? That number is the outage window you should book.

A rehearsal also proves that the backup restores, which is worth knowing on its own.

How this looks in Jarwis ClusterOps

On a supported PostgreSQL cluster, the Updates tab is the major upgrade panel. It runs a read-only pre-check on every node (pg_upgrade --check, free disk, hard-link layout, slots, prepared transactions, checksums, locale, encoding, and extension packages), then an in-place pg_upgrade --link after approval. The pre-check and the in-place upgrade are available on every plan, including Lite (free up to 3 nodes). Rehearsal on a throw-away host is a Pro feature ($9.99 per node per month); Lite can skip the rehearsal. Current majors offered in the wizard are listed in the supported engines docs.

You can start on Jarwis Lite, or look at a PostgreSQL cluster in the read-only demo at demo.jarwis.com. The procedure is in the PostgreSQL major upgrade docs.