At the end of a PostgreSQL upgrade, an order comes in. The application writes it to the new database and sends a confirmation. Then the warehouse integration stops processing orders. You still have a copy of the old database and can point the application back to it. Where does that confirmed order go?
That question is now practical for teams still running PostgreSQL 14. On November 12, the PostgreSQL Global Development Group released 14.25 and announced the end of community support for that major version. The project says the release cycle fixed 52 security vulnerabilities across its supported branches, along with more than 140 bugs. The release notes for the version you run identify the fixes and follow-up work that apply to your installation.
Teams have two decisions to make. First, establish whether their existing installation needs the final patch or a provider maintenance update while they prepare the move. Then choose a supported major version and rehearse the move with the application, jobs and recovery processes that depend on the database. The choice of tool matters because each approach leaves you with different options when the first writes land.
What the final patch changes
Moving from an older PostgreSQL 14 release to 14.25 is a minor update within the same major version. The project says a dump and restore is unnecessary for that step. Moving from 14 to 18 is a major upgrade and requires a supported migration method. An upstream security release and a managed service's maintenance schedule are separate facts. Operators on a hosted database should check the exact engine version, the provider's supported targets and any published maintenance obligations for their instance.
The 14.25 notes make a good case for checking more than the version string. They identify index corruption bugs and direct operators to the entries that say which index types and conditions may require rebuilding. Changes for CVE-2026-6460 add checks around composite values after a type changes. PostgreSQL says a user who can create database objects can use the underlying flaw to execute code as the operating-system account running the database. Some C-language extensions need rebuilding for full protection, and some require source changes. pganalyze's independent practitioner analysis explains how the necessary database access varies across the bugs in the release and why reinstalling packages without restarting the running server can leave old code in use.
A team that depends on a native extension should ask its distributor or provider which fixed build is available, then put that exact build through its usual application tests. Review index repair requirements for the source and destination versions separately. An update fixes the relevant cause of corruption. An existing index covered by a repair advisory still needs the prescribed work. Schedule that work explicitly because rebuilding a large index can consume time and storage needed for the migration.
Choose a target the whole application can use
The project's support table lists community support through November 2027 for PostgreSQL 15, November 2028 for 16, November 2029 for 17 and November 2030 for 18. PostgreSQL 19 was still a release candidate in the November 12 announcement. PostgreSQL's versioning policy allows a direct major-version jump, with review of the intervening release notes. Providers can expose fewer upgrade paths, and individual extensions can narrow the choice further.
Start with an inventory. Record installed extensions and versions for each database, including anything loaded at server startup. Add the drivers and connection pooler, replication slots and downstream consumers, monitoring and backup jobs, collations used for sorting and comparisons, and the jobs that can write while the public application is in maintenance mode. Confirm that the target accepts the application's authentication and that the people expected to recover the service have access to the target and its backups.
For a team that can run its dependencies on 18, the longer upstream support window can make a rehearsal on 18 worthwhile. A team tied to a provider extension that is available on 17 may have a better near-term destination there. Rank candidates by the earliest date the team can prove compatibility and the next date it would need to move again. A longer support window has little operational value when a critical extension cannot be installed or restored on that branch.
Pick the migration method by its failure mode
A logical dump and restore is easy to explain in a change review. Export the source and restore its contents into a separately created target. PostgreSQL's documentation distinguishes the per-database export from cluster-wide objects such as roles and tablespaces. Plan the restore of those objects and the ownership and privileges the application expects. Check that the target has compatible extension packages. Measure the restore, index creation and validation on representative data. For a small system, a tested write pause can be simpler than running two databases for days. For a busy, larger system, a dump taken while writes continue reflects its own snapshot, so making it the new primary also requires a plan for later changes.
For a self-managed cluster with compatible binaries and storage, pg_upgrade can move the cluster to a newer major version without a logical export and import of every table. Run pg_upgrade --check with the mode you intend to use, then rehearse the actual upgrade on a restored copy. Measure post-upgrade scripts and downstream recovery as part of the maintenance window. Copy mode needs room for a second set of data files. Clone mode depends on filesystem support and keeps the old files usable. Link mode saves space by sharing files between the two clusters. The PostgreSQL documentation says that once the upgraded cluster has started in link mode, shared files make restarting the old cluster unsafe. Recovering the old version then requires a backup, even if application writes never began.
Inventory any change-data-capture feed before committing to pg_upgrade. PostgreSQL 18's upgrade tooling can preserve existing logical slots and subscription state under specific conditions when the old logical cluster members are on version 17 or later. That facility does not carry the same state forward from PostgreSQL 14. Include the reinitialization or synchronization of downstream consumers in your rehearsal, and verify their last processed change.
Logical replication moves a different part of the work out of the cutover window. Set up the target schema, copy the published tables and let the target apply subsequent changes while the source remains available. At cutover the team can pause writes, wait for the relevant subscriptions to catch up and make the target writable. The work shifts to operating and validating two systems. PostgreSQL documents that this replication does not carry schema changes, sequence state or large objects. Tables also need appropriate replica identity to publish updates and deletes. Check sequence values before the first insert on the new primary. Monitor the write-ahead log retained by slots and verify subscriptions, scheduled jobs and any downstream consumers individually. A provider's blue/green feature may impose its own restrictions and may remove options after switching, so read the instructions for the exact service and topology.
Rehearse the first write and the first failure
The most revealing rehearsal starts by restoring a representative backup into an isolated environment. Measure how long it takes until the application can serve a real request using that restored database. Record the usable recovery point as well as wall-clock time. A physical base backup and the required archived write-ahead log can support point-in-time recovery when that chain is complete. A logical export provides a snapshot with a different recovery scope. An automated job marked successful tells you that the job ran. A timed restore with application readback tells you what it can recover.
Use a short list of important business actions for the migration rehearsal. Create an order, cancel it, process a refund or perform the nearest equivalent in your application. Read the results through the app, its reporting job and the downstream consumer that performs the side effect. Include permission checks with the ordinary database role, representative slow queries and a look at replication lag and errors. For a logical move, compare critical totals and sample rows after the last source writes have reached the target. A healthy database process can still leave an application unable to find a record, assign the next ID or deliver a job.
Then deliberately stop the exercise at two points. Before allowing writes on the destination, follow the exact steps to return traffic to the source or restore it, according to the chosen transfer mode. After allowing one test write on the destination, stop again. Decide what happens to that record and how you know it will survive a fallback. If the new database is the only place it exists, switching the connection string back leaves it behind. A pre-tested reverse flow or a forward repair can be appropriate. The choice depends on the database versions, which schema changes have run and whether the application can account for side effects. An older cluster that starts successfully still represents an older set of transactions.
Consider a small service with a 30-minute maintenance window. If a representative rehearsal takes 19 minutes to move the data, six to verify the application and four to restore routing, only one minute remains for a decision. Those figures are illustrative. Start the timer when users lose the relevant operation, agree on the minute when the team must decide, and leave enough time to execute the recovery path. If your rehearsal regularly consumes the window, move a portion of the work earlier, choose another migration method or negotiate more downtime.
Give the cutover an owner and a stopping point
Write down who can stop the change. At the agreed time, pause every writer, including queue workers and scheduled jobs. Record the last source transaction or application checkpoint you expect to see, and verify that the target has reached it. Confirm key business totals, scheduled tasks and backup configuration before making the target the sole writer. Keep the old cluster isolated from application writes according to the tested plan. An old connection pool that quietly continues to send writes to the source can undermine a perfectly timed migration.
After the switch, watch business signals as well as database health. A flat error graph can coexist with orders piling up in a queue, reports missing yesterday's sales or replicas sitting too far behind to serve reads. Confirm that the new backup and recovery path works independently of the old cluster. If your target uses PostgreSQL's built-in incremental backup function and the update notes cover your backup chain, follow the project's guidance on creating a fresh full backup as its base.
PostgreSQL 14's final patch starts the clock on a transition. The useful evidence for signing off is a measured rehearsal with a supported target, working recovery and a clear answer for the first order written after cutover. A change plan earns its place when the on-call operator can use it to protect that order under pressure.
Sources & Methods
Lumacta reviewed the PostgreSQL release announcement and branch notes, the CVE advisory and official migration documentation. pganalyze provided an independent practitioner's assessment of this release and operational trade-offs. The order and timing scenarios are illustrative.
- PostgreSQL’s November 12 release announcement — Primary release record. PostgreSQL 14 final release, combined fixes, post-update steps and PostgreSQL 19 RC status.
- PostgreSQL 14.25 release notes — Primary branch-specific notes. Minor-update path, index repairs and C extension compatibility.
- PostgreSQL 18.7 release notes — Primary notes on version-specific reindexing and replacement of affected incremental backup chains.
- PostgreSQL advisory for CVE-2026-6460 — Primary vulnerability description. Database object-creation prerequisite, impact and fixed versions.
- PostgreSQL community versioning policy — Primary policy. Supported target dates, direct major-version jumps and minor releases.
- PostgreSQL 18 documentation for pg_upgrade — Primary procedure and limitations. Mode-specific checks, extension libraries and physical rollback boundaries.
- PostgreSQL 18 logical replication restrictions — Primary limits on schema, sequences, large objects and replicated tables.
- PostgreSQL 18 logical replication upgrade documentation — Primary source for PostgreSQL 17 minimum source for carrying logical slots and subscription state through pg_upgrade.
- PostgreSQL 18 documentation for logical backups — Primary source for consistent snapshots, per-database dumps and cluster-wide objects.
- PostgreSQL 18 documentation for point-in-time recovery — Primary source for the base backup and archived WAL.
- pganalyze’s November security-release analysis — Independent practitioner report of prerequisites and native-extension compatibility checks.
- pganalyze’s analysis of cross-version PostgreSQL migrations — Independent practitioner account and comparison of migrations with logical replication, including initial copy limits.
