On October 15, the PostgreSQL Global Development Group announced PostgreSQL 19 RC 1, the first release candidate of the next major version. A second release candidate is scheduled for November 12, and general availability is planned for November 19, 2026, unless an issue requires a delay. The announcement notes that upgrading from earlier versions requires a major version upgrade strategy such as pg_upgrade or pg_dump and pg_restore. If your business or your app runs on Postgres, now is a good time to write a PostgreSQL upgrade plan, well before you actually upgrade.
Why a major upgrade is a migration
Minor updates to Postgres are usually routine. Major versions are different. The data has to be converted or reloaded, extensions need compatible versions, and behavior can change in small ways that affect queries and applications. That’s why I treat a major upgrade like a data migration: inventory, plan, test, cut over, verify.
No need to rush
A release candidate is for testing, not production. Many teams wait for the first few update releases after a major version before upgrading production. Managed database providers also add new versions on their own schedules. The time between now and then is valuable: it’s when you can test without pressure.
A PostgreSQL upgrade plan, step by step
1. Know what you’re running
Record your current version, database size, extensions and their versions, and every application and integration that connects. Include reporting tools, scripts and AI tools that query the database. I wrote about this kind of list in data inventory.
2. Read the release notes
Look for changes that affect features you use. Pay attention to anything listed as incompatible with previous versions.
3. Check extensions
Extensions are a common source of upgrade trouble. Confirm each one supports the new version, or plan to replace it.
4. Choose a method
pg_upgrade is usually faster for large databases. pg_dump and pg_restore are simpler and also useful for moving to new hardware or a new provider. Managed services have their own upgrade tools. Pick based on database size, how much downtime you can accept and where the database runs.
5. Rehearse on a copy
Restore a recent backup into a test environment, upgrade it, and run your application against it. Time the process so you know how long the real window needs to be.
6. Test what matters
Run your application’s tests, then check the business-critical queries by hand: reports, billing, anything that feeds decisions. Compare results with the old version. Check performance of the slowest queries.
7. Plan the cutover and rollback
Schedule a window, tell users, take a fresh backup, and write down exactly how you’ll roll back if something goes wrong. Decide in advance what would trigger a rollback.
8. Verify afterward
Compare row counts on key tables, run the critical queries again, check logs for errors and watch performance for a few days.
Combine it with cleanup
An upgrade is a natural moment to remove unused tables, fix permissions and tighten access for applications and AI tools. If you’ve been meaning to give AI tools their own restricted role, as I described in least privilege database roles for AI agents, do it as part of the upgrade work while you’re already testing access.
Write the upgrade as a checklist or script, rehearse it, and the real upgrade becomes uneventful. Repeatable steps beat heroics.
Start with the inventory
This week, write down your Postgres version, extensions and everything that connects to the database. That list is the foundation of the plan, and you’ll be glad to have it whenever you upgrade.
If you want help planning a database upgrade or migration and testing it properly, here’s how I approach data migration and data management. We’ll plan, rehearse and verify together.