The failover layer outlived the database version
A payments team runs PostgreSQL 13 under Patroni with etcd as the configuration store. Version 13 reached end of life on 13 November 2025, and each cluster's move to 17 needs its own logical replication rehearsal, so the clusters stay on 13 until their windows.
Challenge
The PostgreSQL community published 13.23 as the last 13 release. Since then it ships no security fixes and no data-corruption fixes for the line, and the advisories name supported versions only. Where a cluster is in PCI DSS scope, Requirement 6.3.3 expects critical security patches within one month of release, and a line that receives none cannot meet it.
The upgrade is the fix, but it is not one change. Logical replication gives a cutover measured in seconds, and it comes with checks: DDL is not replicated, sequences need resetting at cutover, and tables with no primary key or replica identity do not replicate updates or deletes at all. Extensions have to exist at a compatible version on the target. Every cluster has its own owner and change calendar, so the clusters finish on different dates.
The failover layer has its own calendar. Patroni keeps its leader key in etcd, and etcd 3.4 received its final release, 3.4.45, on 1 June 2026. A cluster can have an end-of-life database on top of an end-of-life store.
Environment
Several PostgreSQL 13 clusters, each a primary with streaming replicas managed by Patroni, with etcd as the distributed configuration store and WAL archiving for point-in-time recovery. The clusters run on the team's own VMs or servers.
Some clusters carry extensions, and the etcd versions are not the same everywhere.
Options
Upgrade each cluster to 17 or 18 now. This is the destination for every cluster. 17 is supported to November 2029 and 18 to November 2030. It fits the clusters whose rehearsal is done and whose window is booked.
Move to a managed service. Amazon RDS and Aurora keep PostgreSQL 13 under paid Extended Support to 28 February 2029, billed per vCPU-hour. That covers instances on the service only, and it means replacing Patroni, not just the database version.
Stay on 13 with no patches. It costs nothing today, and every later fix passes the servers by.
Run patched 13 builds and operate the clusters until each cutover window. This is for the clusters that cannot move yet.
Approach
OSSeva Patch ships signed PostgreSQL 13 builds: the last community minor release plus backported security and data-corruption fixes, as DEB and RPM packages or container images. A patched build stays on 13, so it installs like a minor release on the same data directory. Under Patroni it rolls replicas first, then a switchover, then the former primary. Patch also covers etcd 3.4 and older, with the same API and data format, so Patroni sees no change.
OSSeva Assure plans each move to 17 or 18, with a performance and vacuum configuration audit and a cutover design per cluster. OSSeva Operate runs the clusters in the meantime: 24/7 replication and failover monitoring, Patroni and DCS quorum checks, VACUUM and analyze tuning, point-in-time recovery tests and a 15-minute P1 response. Runbooks are written for these clusters before OSSeva goes on call.
One step needs care. etcd 3.6 removed the --enable-v2 flag, and Patroni's etcd section uses the v2 protocol while its etcd3 section uses v3. The DCS move is planned as its own step, with a tested snapshot, before any etcd upgrade.
What this delivers
The clusters stay on the PostgreSQL 13 the applications were tested against, patched and monitored, with the store under Patroni covered as well. Each cluster moves to 17 or 18 in its own window instead of all at once. OSSeva support is priced per cluster, and the tier sets how much of the operating work OSSeva takes on. Book a discovery call for a quote.
Can we apply a patched PostgreSQL 13 build without taking the cluster down?
Update the replicas first, switch over to an updated replica, then update the former primary. The switchover is the step applications notice. The build is the same major version, so no pg_upgrade or data copy is involved.
Does the etcd under Patroni need patching too?
If it runs etcd 3.4 or older, yes. etcd 3.4 ended with 3.4.45 on 1 June 2026. OSSeva ships patched builds for 3.4 and older and plans the move to a maintained line.
Can a Patroni cluster switch from etcd v2 to etcd 3.6 by editing the config?
No. etcd 3.6 removed the --enable-v2 flag, and Patroni's docs warn that v2 and v3 keys are not visible to each other. Moving from the etcd section to etcd3 is a planned cluster operation.
Does Operate test point-in-time recovery on these clusters?
Yes. Point-in-time recovery testing is part of PostgreSQL on Operate, with replication and failover monitoring and VACUUM and analyze tuning.