PostgreSQL 19: what is new, what breaks and how to upgrade
PostgreSQL 19 shipped on November 19, 2026: non-blocking REPACK, JIT off by default and PostgreSQL 14 out of support. What changes and how to upgrade.
PostgreSQL 19 was released on November 19, 2026. The most useful change for production is the new REPACK command,
which rewrites a table to reclaim disk space; with CONCURRENTLY it does so without blocking reads or writes. Also,
JIT is now off by default, and PostgreSQL 14 lost community support on November 12. If your business runs on
PostgreSQL, check which version you are on before the next security fix passes it by. If nobody owns that task, our
software maintenance and support service can take it.
What is new in PostgreSQL 19?
According to the release notes, these are the highlights:
REPACK: a single command that replacesVACUUM FULLandCLUSTER, whose names were confusing. The old commands remain for compatibility. With theCONCURRENTLYoption it rebuilds the table without an access-exclusive lock; a new setting,max_repack_replication_slots, was added and thepg_stat_progress_repackview reports progress.- Autovacuum: it can use parallel workers on a table's indexes and now prioritizes tables with a scoring system
(the
pg_stat_autovacuum_scoresview). - Performance: the number of I/O workers scales automatically, foreign-key checks are faster and
COPY FROMfor text and CSV uses SIMD instructions. The default TOAST compression moves frompglztolz4. - Replication: logical replication can be enabled without a restart when
wal_levelisreplica, sequence values are replicated, and a newWAITcommand gives read-your-writes consistency on standbys. - Planner control: the
pg_plan_adviceandpg_stash_adviceextensions let you pin query planner decisions.
The notes give no improvement figures for these optimizations: measure with your own queries before promising results.
What can break when I upgrade?
The release notes list an incompatibilities section. These are the ones most likely to touch a business system:
| Change | What to do |
|---|---|
| JIT is off by default | If you run many large analytical queries, enable it manually |
max_locks_per_transaction goes from 64 to 128 | Settings must be doubled to match the previous capacity |
standard_conforming_strings is always on | Create dumps with the version 19 (or newer) pg_dump |
| RADIUS support is removed | If you authenticate with RADIUS, pick another method before migrating |
btree_gist indexes on inet and cidr | pg_upgrade refuses to upgrade clusters that use them |
io_workers is removed | Replaced by four new settings (io_min_workers, io_max_workers and two more) |
Full-text search and pg_trgm classify characters differently | With a locale provider other than libc, reindex and recompute stored tsvector values after upgrading |
The full list is in the "Migration to Version 19" section of the notes.
Which PostgreSQL version should I run?
The project supports each major version for 5 years and ships minor fix releases at least every three months, according to its versioning policy.
| Version | Status | Latest minor | End of support |
|---|---|---|---|
| 19 | Supported | 19.0 | November 19, 2031 |
| 18 | Supported | 18.7 | November 14, 2030 |
| 17 | Supported | 17.12 | November 8, 2029 |
| 16 | Supported | 16.16 | November 9, 2028 |
| 15 | Supported | 15.20 | November 11, 2027 |
| 14 | Unsupported | 14.25 | November 12, 2026 |
If you run PostgreSQL 14 or older, you no longer get security fixes. You do not need to wait for 19 or step through the versions in between: the policy allows jumping from one major version to another, though it recommends reading the release notes of the versions you skip.
How do I upgrade?
- Find your version:
SELECT version();inpsql. On a managed service, check the console for when version 19 will be offered. - First move to the latest minor release of your version: the policy recommends it and it needs no data restore.
- For a major version you need
pg_upgrade, apg_dumpalldump and restore, or logical replication; the data directory is not compatible across major versions. - Test on a copy first: run your heaviest queries, go through the incompatibilities table and measure with JIT off and on.
For development teams
Do not move to 19 on release day. A brand-new major version deserves a trial in a test environment; the immediate priority is getting off PostgreSQL 14 if you are still on it.
Sources
- PostgreSQL 19 Released (Nov 19, 2026) (accessed November 20, 2026)
- PostgreSQL 19 Documentation: Release 19 (accessed November 20, 2026)
- PostgreSQL: Versioning Policy (accessed November 20, 2026)
Keep reading
- NewsCustom software
GitHub blocks pull_request_target by default: what to check
Since December 2, 2026, GitHub Actions blocks pull_request_target by default in affected public repositories. What changes and how to audit your workflows.
David Hernandez· Software Engineer3 min read
- NewsCustom software
Django 6.1.4, 6.0.11 and 5.2.20: 7 security fixes explained
Django released 6.1.4, 6.0.11 and 5.2.20 on December 2, 2026 with 7 security fixes. Which ones affect you, what changes, and how to update.
David Hernandez· Software Engineer4 min read
- NewsCustom software
52% of WordPress sites will run unsupported PHP on Jan 1
52.24% of WordPress sites run PHP 8.2 or older, with no security patches from January 1. How to check your PHP version and which one to move to.
David Hernandez· Software Engineer3 min read