PostgreSQL upgrades

Planning PostgreSQL major version upgrades, including the PostgreSQL 14 end of life and the choice between pg_upgrade and logical replication.

PostgreSQL 14 to 18 upgrade

Upgrading off PostgreSQL 14 before its November 12, 2026 end of life straight to PostgreSQL 18: pg_upgrade --check, extension compatibility, MD5 to SCRAM password changes, and rehearsing the cutover.

Upgrading from unsupported PostgreSQL 13 and older

Getting off PostgreSQL 13, 12 or older now that they receive no fixes: picking the target version, pg_upgrade from 9.2 or later, extensions without new builds, MD5 passwords, and the security risk of waiting.

PostgreSQL 17 to 18 upgrade

Moving to PostgreSQL 18: data checksums now on by default in initdb and what that means for pg_upgrade, MD5 deprecation warnings, VACUUM and ANALYZE now processing inheritance children, virtual generated columns, and testing asynchronous I/O.

Planning the PostgreSQL 19 upgrade

Preparing for PostgreSQL 19: the planned November 19, 2026 release, compatibility changes such as removed RADIUS support and standard_conforming_strings always on, new REPACK and parallel autovacuum, and when to schedule the move.

Upgrading PostgreSQL extensions during a major upgrade

Keeping PostGIS, pgvector, TimescaleDB, pgAudit and other extensions working across a major upgrade: installing matching shared objects in the new cluster, the update script pg_upgrade generates, and version pairing.

Major PostgreSQL upgrades in a Patroni cluster

Planning a major version upgrade for a Patroni-managed cluster: pausing automatic failover, upgrading the primary with pg_upgrade, rebuilding or upgrading replicas, DCS state and the rollback plan.

Major PostgreSQL upgrades with CloudNativePG

Upgrading PostgreSQL major versions on Kubernetes with CloudNativePG: declarative in-place upgrades with pg_upgrade, blue/green upgrades through dump and restore or logical replication, image distribution limits and a known PostgreSQL 17 bug.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.