Why plan the PostgreSQL 19 upgrade now
Decide when your team moves to PostgreSQL 19 now, before the release is final, because the support calendar is already set for the versions you run. PostgreSQL ships a new major version about once a year and supports each one for five years. The current end dates are November 12, 2026 for version 14, November 11, 2027 for version 15, November 9, 2028 for version 16, November 8, 2029 for version 17 and November 14, 2030 for version 18 (PostgreSQL versioning policy). In a fleet that mixes versions, the nearest end date sets the deadline, and PostgreSQL 14 ends the same day the second release candidate is planned.
PostgreSQL 19 release candidate 1 was released on October 15, 2026. A second release candidate is planned for November 12, 2026, and general availability is planned for November 19, 2026. Confirm these dates against the official announcement before you book a change window, since release schedules can move. Planning before general availability matters because the release notes list changes that affect dump files, authentication and application behavior, including the removal of RADIUS authentication and standard_conforming_strings being forced on. Starting your inventory now gives you time to find those dependencies in staging before any production window is scheduled.
Treat the move as a staged path. Upgrade to a version that your applications, extensions and backup tooling have been tested against in your own environment, then run PostgreSQL 19 in staging before any production cutover. Teams still on version 14 should decide early whether they reach a supported intermediate version first or test 19 directly, and that choice depends on which extensions and drivers they use. Ask your extension vendors and driver maintainers for their PostgreSQL 19 support status in writing, and record the answer as part of the plan.
Which PostgreSQL 19 changes affect your cluster
This table lists the PostgreSQL 19 changes most likely to affect a planned upgrade, with the impact on your cluster and the action to take before cutover. Read the removal and forced-setting rows first, because they can break authentication or dump loading without warning. The new features are optional, but they change maintenance and replication practice once you adopt them.
| Change | Impact | Action needed |
|---|---|---|
| RADIUS authentication removed | Any pg_hba.conf line using the radius method will no longer work after the upgrade, so clients using it cannot log in. | Search all pg_hba.conf files for radius, pick a replacement method such as LDAP, GSSAPI or certificate, and test logins on the new cluster. |
| standard_conforming_strings forced on | Dumps made with pg_dump from older versions, or from clusters with standard_conforming_strings off, may not load correctly. | Check how old dumps were produced and whether any stored procedures or scripts depend on backslash escaping. Test restores of those dumps before cutover. |
| MD5 warning after successful login | Clients that still authenticate with MD5 succeed but generate a warning in the server log, which signals that the method is on the removal path. | Review the logs during rehearsal, list roles with MD5 hashes, and plan the move to SCRAM-SHA-256 as part of the upgrade. |
| REPACK command | Adds a built-in way to rewrite tables, including REPACK (CONCURRENTLY), which runs without blocking reads and writes. | Decide where REPACK replaces VACUUM FULL or third-party repacking tools, and confirm the disk space and run time in a rehearsal copy. |
| Parallel autovacuum of indexes | Autovacuum can process indexes in parallel, which may raise I/O and CPU use during maintenance windows. | Review autovacuum settings and I/O headroom on the new cluster, and watch maintenance load during the first weeks in production. |
| Logical replication of sequence values | Sequence values can now be carried by logical replication, which matters for cutovers that depend on current sequence numbers. | If you use a logical replication cutover, confirm the sequence handling in your publication design and check values on the new primary before switching traffic. |
| Logical replication enabled without restart | When wal_level is replica, logical replication can be enabled without restarting the server. | Consider this when planning replication for a future migration, and confirm the wal_level setting on your current clusters. |
Compatibility checks by area
PostgreSQL 19 removes RADIUS authentication support, so any pg_hba.conf line that uses the radius method will stop authenticating users after the upgrade. The release notes also add a warning after successful MD5 password authentication. That warning is a signal to act on, not a change that blocks logins, so the risk is that teams see nothing until a log review or an audit asks about it. Start by listing every authentication method in use across all clusters, including replicas, admin tools and monitoring accounts.
- RADIUS entries: Search every
pg_hba.conffile and configuration management template forradius, then identify which directory or network service each entry depends on. - Replacement method: Confirm the approved replacement, such as LDAP, GSSAPI, certificate or OAuth, and test login for each affected role in a staging cluster.
- MD5 roles: Query
pg_authidfor roles whose stored password hash uses MD5, and plan resets to SCRAM-SHA-256 before the cutover. - Warning monitoring: Set log alerts for the MD5 warning so that remaining MD5 logins appear in your security monitoring.
- Client drivers: Confirm that application drivers and connection poolers negotiate SCRAM correctly, since some older client libraries fail after a method change.
Before sign-off, confirm each RADIUS and MD5 finding against the final PostgreSQL 19 release notes, and record which application owners accepted the changes.
PostgreSQL 19 forces standard_conforming_strings on. Dumps made with older pg_dump versions, or from clusters where the setting was off, may not load properly because backslash handling in string literals differs. The failure is most likely in restore pipelines, seed scripts and data migrations that were written years ago and rarely run. Because a broken restore can look like a successful load until queries return wrong results, this area needs an explicit test rather than a general review.
- Dump inventory: List every stored dump file, backup archive and scheduled export, and record the
pg_dumpversion that created it. - Setting audit: Check the
standard_conforming_stringsvalue in each source cluster and in any custom session defaults set by applications. - Restore rehearsal: Load representative dumps into a PostgreSQL 19 release candidate environment and compare row counts and checksums against the source.
- Escape-sensitive data: Review stored procedures, functions and application code that build SQL strings with backslash escapes, because their output can change.
- Regeneration plan: Decide whether old dumps are regenerated with a current client tool or kept for archival use only, and record that decision for audit purposes.
Confirm the exact load behavior against the final release notes before scheduling restores, and keep the rehearsal results with the change record.
PostgreSQL 19 adds the REPACK command, including REPACK (CONCURRENTLY) that runs without blocking reads and writes. It also adds parallel autovacuum of indexes, logical replication of sequence values and enabling logical replication without a restart when wal_level is replica. These features change maintenance and replication routines, so existing jobs may behave differently even when nothing fails. The operations team should review scripts, maintenance windows and replication topology together, since they interact.
- Maintenance scripts: Find cron jobs, runbooks and scheduled tasks that run
VACUUM FULLor table rewrites, and decide whereREPACKreplaces them. - Autovacuum capacity: Review autovacuum worker settings and I/O headroom, since parallel index vacuuming can increase load during peaks.
- Logical replication: Inventory publications and subscriptions, confirm sequence replication requirements, and test failover of sequence values during rehearsal.
- Restart planning: Document the
wal_levelsetting and whether enabling logical replication without a restart fits your change process. - Monitoring updates: Update dashboards and alerts that track vacuum progress, lock waits and replication lag so they reflect the new behavior.
Verify each REPACK and autovacuum behavior against the final release notes and a staging run before changing production maintenance schedules.
The supported upgrade path to PostgreSQL 19
PostgreSQL 19 upgrades should start from a supported source version. PostgreSQL 13 and earlier no longer receive fixes, so a cluster on those releases needs a move to a supported major version before or alongside the 19 work. PostgreSQL 14 reaches end of life on November 12, 2026, which lands close to the planned November 19, 2026 general availability date. Teams on 14 often move to 18 first, which is the version with the longest remaining support window in the current policy, and then plan a second move to 19 once it ships. A direct 14 to 19 path is viable only after you confirm that every extension and client driver in your stack has a build for 19. Confirm that with your vendors and extension maintainers before committing to a date.
The three main methods are pg_dumpall with restore, pg_upgrade, and logical replication. A dump and restore is the simplest to reason about but needs the longest outage on large clusters. pg_upgrade converts the data directory in place or by copy, and its modes trade speed against rollback options. Logical replication works between different major versions, and the upgrade documentation describes a cutover with only several seconds of downtime, but it requires publication and subscription setup, sequence handling and a plan for schema changes during the sync window. Minor releases are a different operation: they never change the storage format and only replace executables followed by a restart, so they do not count toward a major upgrade budget. Choose the method by your downtime budget, your tolerance for a rollback path, and how much rehearsal time your team can give it, then document the choice before the rehearsal starts. For the full method comparison, see the PostgreSQL upgrading documentation.
What to prepare before the rehearsal
A PostgreSQL 19 rehearsal only proves something if the source cluster is recoverable, the extensions and clients can follow the upgrade, and someone has agreed in advance what a failed rehearsal looks like. The cards below cover the groundwork that connects those checks, so the rehearsal runs against a known-good starting point.
Verified backup and WAL archiving
Take a fresh base backup and confirm that WAL archiving is running without gaps before any rehearsal starts. A backup that has never been restored is not a fallback. Restore it into a scratch environment, start it, and run your standard row count and application checks. Record the backup label, the archive position and the time the restore took, because the cutover plan will depend on those numbers. Point-in-time recovery needs an unbroken chain of archived WAL, so check that the archive command is succeeding in the logs rather than assuming it is.
Continuous archiving docsExtension inventory and PostgreSQL 19 builds
List every extension installed in each database, including the installed version and the package source. Confirm with each extension's maintainer whether a build exists for PostgreSQL 19 and whether the target version pairing is supported. Extensions that load shared objects will not run on the new cluster until matching binaries are installed there. Treat any extension without a confirmed PostgreSQL 19 build as a blocker for the rehearsal, not a later task, and note which databases depend on it.
Authentication and pg_hba.conf review
Review every pg_hba.conf entry and list each authentication method in use. PostgreSQL 19 removes RADIUS support, so any RADIUS line must be moved to another method before the rehearsal. Also find roles whose passwords are still stored as MD5 hashes and any clients that authenticate with MD5, since PostgreSQL 19 warns after successful MD5 authentication. Confirm that each application service account authenticates by a method that the new cluster supports.
Authentication methods docsDriver and PgBouncer compatibility checks
Test each application driver against the rehearsal cluster, and confirm that the driver handles standard_conforming_strings being on, since PostgreSQL 19 forces it on. Check any scripts that load dumps made with older pg_dump or with standard_conforming_strings off. If you run PgBouncer, plan to upgrade to version 1.26.1, released October 14, 2026 with security fixes, and test it in front of the rehearsal cluster. Confirm pooling modes and session settings still behave as expected after the switch.
PgBouncer siteProduction-like rehearsal environment
Build the rehearsal environment from a recent restore of production, on hardware or virtual machines sized close to production, with the same extensions, configuration and roles. Schema-only copies miss data-dependent problems such as large index rebuilds, sequence values and statistics behavior. Ask the team to confirm how much data is copied, how often the copy is refreshed, and who controls access to it, because production data in a lower environment is a compliance question in its own right.
Monitoring and rollback criteria
Agree the measures that decide whether a rehearsal passes before it runs: query latency on key paths, error rates in the application logs, replication lag if standbys exist, and the time each step took. Write down the rollback trigger and who makes the call, and keep the old cluster intact until the agreed observation period ends. Dashboards and alerts should be in place on the rehearsal cluster so that problems show up during the run rather than after it.
How the upgrade decision flows
The path starts with the source cluster's version, which must still be in PostgreSQL's support window before the move is worth planning. Next, the downtime budget decides between pg_upgrade and logical replication, and both routes are rehearsed on a copy of production. Before cutover, the team checks findings for RADIUS, MD5 and standard_conforming_strings, then schedules the cutover after general availability and a stabilization window the team sets.
Decision path from current source version to a scheduled PostgreSQL 19 cutover.
The upgrade sequence and rollback points
This sequence moves a PostgreSQL cluster from its current major version to PostgreSQL 19 in an order that keeps a working rollback path until the team has checked the new cluster. Each irreversible action is preceded by a named rollback point, so the team knows what it can return to at every stage.
Inventory versions, extensions and clients
The database owner records the current major version, every installed extension and its version, the authentication methods in pg_hba.conf, the client drivers and pooler versions, and any use of RADIUS or MD5 passwords. Anything that PostgreSQL 19 removes or changes is listed as a blocker. Done when every database and application that connects has an owner and a row in the inventory, and each extension has confirmed PostgreSQL 19 support from its maintainer or a stated plan to confirm it.
Rehearse the upgrade on a restored copy
The team restores a recent backup to a separate server, installs PostgreSQL 19 binaries there, and runs the full upgrade path with the same method planned for production. They run the application test suite and the critical queries against the copy and time the steps. Done when the rehearsal completes with no unresolved errors, the application passes its tests against the upgraded copy, and the runbook reflects what actually happened.
Take and verify a pre-upgrade backup
The operator takes a fresh base backup and confirms that archived WAL files are continuous through the backup point, then restores it to a test instance. This is the first rollback point: until production is changed, the original cluster is the fallback. Done when a restore test succeeds and the team records the backup label, the time, and who approved the rollback point.
Run pg_upgrade --check or configure replication
For the copy method, the operator runs pg_upgrade with the check option against the live cluster definition, resolves every reported incompatibility, and reviews the extension update script it generates. For logical replication, the team creates the publication and subscription on PostgreSQL 19, confirms that sequence values are carried over as PostgreSQL 19 supports, and lets the initial sync finish. Done when the check reports no errors, or the subscriber has caught up with the publisher and lag is stable.
Cut over and mark the point of no return
The team stops writes, confirms the final state, and switches the application connection string or pooler target to the new cluster. For pg_upgrade in link mode, the old data directory is changed in place, so this step has no simple file-level rollback. For copy mode, the old cluster stays intact and can be restarted. For logical replication, the old cluster remains the source until the subscription is dropped, which allows switching back if new writes are reconciled. Done when the team has written down which rollback each method still allows and the application connects to the new cluster.
Run ANALYZE and verify the new cluster
The operator runs ANALYZE on the upgraded databases, or confirms that the pg_upgrade planner statistics step has finished for the version in use, then compares key query plans and latency with the baseline from before the upgrade. The team checks logs for warnings, confirms that replication and backups work on the new cluster, and runs a test restore. Done when verification queries return expected results and the signed-off checklist is complete.
Monitor and retire the old cluster
The operations team watches connection errors, slow queries, autovacuum activity, replication lag and disk use for an observation period the owner sets in advance. The old cluster is kept as a fallback until that period ends and the backup policy for it is decided. Done when the observation period closes with no open defects, and the old cluster is archived or decommissioned under a recorded decision.
When to schedule the move to PostgreSQL 19
Do not schedule the cutover for the general availability day. PostgreSQL 19 is planned for November 19, 2026, and a first major release carries the most unknowns, so the safer plan is to start testing during the release candidate period and move production after the first stable minor release has shipped. The release candidate dates give you a working window: RC 1 was released on October 15, 2026, a second release candidate is planned for November 12, 2026, and general availability follows on November 19, 2026. Use RC 1 to run the full rehearsal on a copy of production, and use RC 2 to confirm that your extensions, drivers and backup tooling still behave as expected.
Your PostgreSQL 14 deadline sets the outer boundary. PostgreSQL 14 is supported until November 12, 2026, so a cutover that slips past that date leaves you on an unsupported major version. If PostgreSQL 18 is your intended target, the decision is whether to accept a short, separate upgrade to 18 now or to move directly to 19 with a later cutover. Make that choice explicitly, because each path needs its own rehearsal, rollback plan and change window. Ask your team to confirm the dates for 14 end of support, your change freeze calendar and the availability of your database administrators in the weeks around the target date.
Before you fix a date, confirm the final release date and the minor release cadence with the official sources, including the PostgreSQL versioning policy, which describes how minor releases are published and supported. Also check the PostgreSQL 19 release notes for the final list of compatibility changes, since the draft notes you plan against can change before release. Build the schedule around the confirmed dates, add a buffer for a first minor fix, and record which PostgreSQL 19 minor version your change request names so the rollback and patch steps match the build you deploy.
What makes the upgrade longer
This table lists the factors that change how much work a PostgreSQL 19 upgrade takes, and the direction each one moves the effort. Read it as a checklist for sizing your own project: the more rows that apply to your environment, the more planning, testing and rollback preparation you should expect. Durations depend on your environment, so ask any partner to size each row against your inventory before agreeing a schedule.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| Number and size of databases | More clusters and larger data sets lengthen pre-checks, rehearsal runs and post-upgrade statistics and vacuum work | Consolidate low-value clusters before the upgrade and rehearse the largest one first |
| Extensions with no PostgreSQL 19 build | Each extension without a matching build blocks the cutover or forces a version change | Confirm extension builds for version 19 in your inventory before the rehearsal starts |
| Custom authentication such as RADIUS | RADIUS support is removed in PostgreSQL 19, so every RADIUS entry in pg_hba.conf needs a replacement method | Inventory pg_hba.conf entries now and agree the replacement method with your identity team |
| MD5 password use | PostgreSQL 19 warns after successful MD5 authentication, so teams must find and move remaining MD5 roles and clients | Query role password types and move clients to SCRAM ahead of the upgrade window |
| Number of replicas and connection poolers | Each standby, pooler and failover tool needs ordering, configuration checks and its own verification | Document the node order and automate configuration checks for each replica and pooler |
| Logical replication scope | Replication sets, publications and subscriber versions must line up, and sequence values now replicate, which needs verification | Limit the replicated tables to those that need it and test subscriber behavior in a rehearsal |
| Application driver versions | Older drivers may not handle authentication changes or new server behavior, which surfaces only in testing | Check driver versions against the release notes and run application test suites against version 19 |
| Size of the test and rollback plan | A plan that covers restore, rollback and post-cutover checks takes longer to write and rehearse, but reduces the risk of a stalled cutover | Reuse runbooks from earlier upgrades and time each rehearsal step so the cutover window is based on measured results |
Questions teams ask before upgrading PostgreSQL 19
What drives the cost of a PostgreSQL 19 upgrade?
The cost depends mainly on how many clusters, extensions and applications sit on the database, and how much downtime the business will accept. Each cluster needs an inventory, a compatibility check, a rehearsal and a cutover, so the number of clusters multiplies the work. Extensions with no PostgreSQL 19 build, custom SQL that relies on removed behavior, and applications that authenticate with MD5 add review and change work. Internal staff cost is recurring during planning and testing, while a fixed-scope partner quote covers the agreed deliverables. Ask any quote to list the clusters, extensions, applications and environments in scope, and to state which rehearsals and rollback steps are included.
How long does a PostgreSQL 19 upgrade take?
The duration depends on the factors that set the work, not on a fixed figure. The main drivers are database size and the upgrade method: pg_upgrade needs time proportional to the catalog and the copy mode chosen, while logical replication needs time to synchronize data before a cutover that the upgrading documentation describes as measured in seconds of downtime. Other drivers are the number of extensions to verify, the depth of application testing and how many rehearsals the change window requires. Ask for a schedule that separates inventory, rehearsal, production cutover and post-upgrade checks, and confirm the timing of each step in your own environment.
What does the upgrade need from our internal team?
The upgrade needs people who own the applications, the database and the change window. A database administrator must confirm cluster topology, backup status, replication setup and rollback paths. Application owners must test queries, drivers and authentication settings. Security or compliance staff should review password method changes and audit logging. A change approver must agree on the cutover window and the go or no-go criteria. Plan for these people to be available during planning, rehearsal and cutover, and confirm who holds on-call duty during the first days on PostgreSQL 19.
Can our own team run the PostgreSQL 19 upgrade without a partner?
Yes, a team with experience running PostgreSQL in production can plan and execute the upgrade, provided it has the skills and time to do so. The release notes describe the compatibility changes, and the official upgrading documentation covers the methods. Teams with limited experience usually need help with replication, rollback design and rehearsal evidence. Whether a partner is worth bringing in depends on the team's capacity, the number of clusters and the risk tolerance of the business. Ask a partner to show how the scope, deliverables and timeline are written down before work starts, and compare that with your own plan.
When should we schedule the move to PostgreSQL 19?
Schedule the move after general availability, which is planned for November 19, 2026, and after the team has run its own compatibility checks on a rehearsal copy. Teams that are still on PostgreSQL 14 must also weigh its end of support on November 12, 2026, so a move to a supported release may need to happen first or on a shorter path. The official versioning policy lists the end dates for each major release. Plan the cutover outside peak business periods, and keep a window for the second release candidate planned for November 12, 2026 to inform your test results.
Do RADIUS users need changes before upgrading to PostgreSQL 19?
Yes, if any role or pg_hba.conf entry uses RADIUS, because PostgreSQL 19 removes RADIUS authentication support. Those connections will fail after the upgrade unless the method is changed first. Inventory every authentication line in each cluster, identify the users and applications that depend on RADIUS, and choose a supported replacement such as LDAP, GSSAPI, certificate or another method listed in the authentication documentation. Test each replacement in the rehearsal environment and confirm that the identity system behind it still accepts the same accounts.
What should a PostgreSQL 19 rehearsal prove?
A rehearsal should prove that the upgrade can be completed in the agreed window, that the database starts and serves the expected workload, and that rollback works if the cutover fails. Run pg_upgrade checks or the chosen logical replication setup against a copy of production data, then verify extensions, dump and restore behavior, and the removed or changed features in the release notes, including standard_conforming_strings and MD5 warnings. Measure the cutover time, check application login with each authentication method, run representative queries, and confirm that backups taken before the change can be restored. Record the results so the go or no-go decision rests on evidence.
What a DeployOpen upgrade plan includes
A DeployOpen upgrade plan for PostgreSQL 19 is built from a set of written deliverables, and each one answers a question the cutover depends on. The first is an inventory of every cluster, database, extension, replica, backup job, connection pooler, client application and authentication rule that touches the server. The second is a compatibility assessment that checks the inventory against the 19 changes: the removal of RADIUS authentication, the forced standard_conforming_strings setting, the MD5 warning after successful authentication, and any dump files that were created with older pg_dump settings. The assessment also records which extensions have builds for the target version, since those builds are not always available on the release date.
The third deliverable is a written scope that names the target version, the upgrade method, the systems in and out of scope, the acceptance tests and the people who approve each step. Scope and timelines are agreed in writing before work starts, and DeployOpen does not publish a price list, so a quote follows from that document. Ask for the quote to list the inventory, the rehearsal runs, the cutover window and the post-upgrade checks as separate line items, so you can see which parts your own team would keep and which a partner would carry. The rehearsal plan comes next: a copy of production restored into a test environment, the upgrade run at least once from start to finish, and timings recorded for each step.
The final two deliverables are a cutover runbook and post-upgrade verification. The runbook lists each step in order, the exact command or console action, the expected output, and a named rollback point before each irreversible change. Verification covers query plans and statistics, replication and backup status, connection pooler behavior, authentication logs and application smoke tests. Because the release is planned for November 19, 2026, confirm with your team and any partner that the rehearsal and runbook are complete before that date, and keep the second release candidate, planned for November 12, 2026, on the review calendar in case it changes behavior you depend on.
How DeployOpen scopes and delivers the PostgreSQL 19 upgrade planning
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, so PostgreSQL 19 planning starts from your clusters, extensions, applications and recovery setup. The work is agreed as a fixed scope in writing before it starts, and the output is a plan your own teams can review and run.
How we scope
- Inventory every PostgreSQL cluster, version, extension and client driver that the 19 upgrade would touch.
- Map the RADIUS, standard_conforming_strings and MD5 password items against your actual pg_hba.conf and dump files.
- Agree deliverables, exclusions and timelines in a written scope before any work begins.
How we build
- Prepare a test cluster from a recent copy of your data and run the planned upgrade path against it.
- Check REPACK and parallel autovacuum settings against your maintenance windows and workload patterns.
- Test backup, point-in-time recovery and rollback steps so the cutover plan has verified fallback options.
How we hand over
- Deliver a written upgrade runbook with pre-checks, cutover steps, verification queries and rollback criteria.
- Document the schedule decision, including how your team should judge a move before or after the 19 general availability date.
- Walk your database, security and operations staff through the plan and record open items with owners.
How we support
- Offer ongoing support and upgrade work as a retainer if your team wants help after the plan is delivered.
- Review the plan again when a second release candidate or final release changes compatibility details.
- Confirm with your team the release notes, extension versions and vendor support status that apply to your environment.

