On November 19, the PostgreSQL Global Development Group released PostgreSQL 19. That is not a reason to jump to it today.
The work to do first is still last week’s minor release, not a day-one jump to 19. On November 12 the project shipped 18.7, 17.12, 16.16, 15.20 and 14.25, plus 19 RC 2, fixing 52 security vulnerabilities and over 140 bugs. After you patch, follow the post-update steps the notes actually call out: reindex the indexes they flag, take a new full backup if you use incremental backups, and update client tools. Then run pg_upgrade --check and clear the known blockers before you schedule the major upgrade.
If you are still on 14, 14.25 is the final release and 14 is out of support. Plan a major-version move to a supported release; don’t stay there.
What should we do this week?
Apply the November 12 minor for the version you run, then do the post-update work. A dump/restore or pg_upgrade is not required to take a minor. The project’s announcement says you may stop PostgreSQL and update its binaries. Restart the server as part of that; don’t leave a new binary talking to an old running process.
| If you are on | Patch to |
|---|---|
| 18 | 18.7 |
| 17 | 17.12 |
| 16 | 16.16 |
| 15 | 15.20 |
The security batch is large. The official list is in the November 12 announcement. Help Net Security reported that 32 of the 52 CVEs carry a CVSS score of 8.8. Several are memory-safety or type-confusion bugs that can lead to code execution. One of them, CVE-2026-6460, is a type-confusion issue around ALTER ... SET DATA TYPE and composite types; the official 18.7 notes say the fix is extensive, that C-language extensions may need to be rebuilt, and that some will need source changes. They also document a composite_type_mismatch parameter that can disable the new checks, and they warn that doing so carries security risks. Test your extensions in staging before you patch production.
Client tools were patched too. pg_dump had SQL injection through not-null constraint names (CVE-2026-116318) and a tar-format restore issue (CVE-2026-116330). reindexdb mishandled quoting of index names (CVE-2026-116325). If those tools run against databases where other users can create and name objects, update the client binaries along with the server, including jump hosts and laptops that still ship pg_dump.
Which indexes do we have to rebuild?
The 18.7 release notes and the announcement’s Updating section are explicit: several bugs could leave indexes corrupt, and the fixes do not repair existing ones. Find what’s affected and reindex after the binaries are in place. REINDEX CONCURRENTLY is the usual way to do that without blocking reads and writes; use a regular REINDEX if you hit a case concurrent reindex doesn’t support, or if you are repairing a TOAST-related “missing chunk number” error with REINDEX TABLE as the notes describe.
After updating:
- GIN indexes you suspect were hit by the corruption bugs fixed in this release. The announcement says several GIN issues could cause queries to miss rows or return unrelated rows. Example from the project:
REINDEX INDEX your_index_name; - All
pg_trgmGiST indexes that usegist_trgm_ops. The notes say combination of index entries could lose a format flag, so later searches miss matching rows, and that you shouldREINDEXexistinggist_trgm_opsindexes after updating. - B-tree indexes on
bpcharcolumns declared without a length. Deduplication was unsafe becausebpcharequality ignores trailing spaces. The notes say this can make index-only scans return wrong results, and thatCHAR(n)is not at risk. If you have the unconstrainedbpcharform, reindex those B-tree indexes. - Tables that throw
missing chunk numbererrors. AREINDEX CONCURRENTLYbug on TOAST-table indexes could miss later updates. The TOAST table itself is fine;REINDEX TABLE your_table_name;rebuilds the table’s indexes, including TOAST.
Don’t reindex the entire cluster “just in case” as a substitute for reading the notes. Do reindex every class they name, and keep the queries you used to find those indexes in the runbook.
Why do we need a new full backup?
If you use incremental backups, take a new full backup after the minor update and base later incrementals on it. The 18.7 notes say existing incremental backup files should not be trusted, and they describe several failure modes (including stale visibility maps after heap truncation, and incrementals crossing a divergent timeline after failover). One of those fixes does not correct existing WAL summaries, so incrementals taken even after you patch can still be affected until a new full backup is the baseline.
If you only take full backups, still take one after the patch and after reindexing, so you have a restore point that includes the new indexes. Then you have something clean to work from when you test 19.
What should we check before pg_upgrade to 19?
19 is generally available, but don’t put it in production until you have rehearsed. A major upgrade still needs pg_upgrade or dump/restore (or logical replication). Start with pg_upgrade --check on a copy that already has the November 12 minor applied.
From the PostgreSQL 19 release notes and the earlier RC 2 announcement, these are the items we would put on the checklist:
- MD5 authentication now warns after a successful login. The warning can be turned off with
md5_password_warnings. MD5 was already deprecated in 18. Plan the move to SCRAM-SHA-256: setpassword_encryptiontoscram-sha-256, have every role set a new password so the stored hash is SCRAM, then switchpg_hba.conf. Official password-auth docs describe that sequence; existing MD5 hashes are not converted in place. - JIT is off by default. The notes say the old cost-based default was unreliable, and that sites running many large analytical queries need to enable JIT themselves (
jit = on). If you depended on it, set it explicitly and test. If you didn’t, the new default is probably what you want. pg_upgradewill refuse some clusters until you fix them. Official incompatibilities includebtree_gistindexes oninet/cidr(the old opclasses can exclude rows that should be returned; 19 changes the default to core GiST opclasses) and database, role or tablespace names that contain carriage returns or line feeds.- If you tested 19 before RC 2, drop or redefine expression indexes, generated columns or partition keys that used
JSON_ARRAY()orJSON_OBJECT()over arrays, composite types or range types. RC 2 reverted that;pg_dump/pg_restoreandpg_upgradewill fail to recreate those objects. - After
pg_upgrade, reindex if the notes say so. The RC 2 announcement points at the Migration to Version 19 section for indexes that use full text search,pg_trgmorfuzzystrmatch. The notes recommend reindexing those, and recomputing storedtsvectorvalues, in databases whose locale provider isn’t libc and doesn’t matchLC_CTYPE. - Other defaults that change in 19:
max_locks_per_transactionmoves from 64 to 128, and the notes say lock size allocation changed, so settings must be doubled to match their previous capacity.default_toast_compressionchanges frompglztolz4. RADIUS authentication is removed.standard_conforming_stringsis forced on in the server; dumps taken with olderpg_dumpwhile it was off will not load cleanly — use a currentpg_dump.
Run --check until it’s clean, then rehearse the upgrade on a restored copy, with application connections and a rollback plan. The discipline is the same one we use on Oracle to PostgreSQL cutovers and in migrations without a freeze: don’t invent the runbook on the night you cut over.
What about RDS, Aurora and other managed Postgres?
Don’t assume a managed service will offer 19 on the day the community does. AWS put a PostgreSQL 19 beta in the RDS Database Preview Environment earlier this year; that is a preview, not production GA, and it is not a promise about Aurora’s timetable. Check your provider’s published engine versions, and apply their November security upgrades as they make them available — the minor-release work (patch, reindex, backup) still comes first.
FAQ
Has PostgreSQL 19 been released?
Yes. The PostgreSQL Global Development Group released PostgreSQL 19 on November 19, 2026. 19 RC 2 had shipped on November 12. Apply the November 12 minors and run pg_upgrade --check before you schedule the major upgrade.
Do we have to go to 19 this week?
No. Patch the November 12 minor, reindex, and refresh backups first. Schedule 19 after --check is clean and you have rehearsed, and after your hosting provider supports it if you aren’t self-managed.
Can we skip the reindex if everything looks fine?
Not for the index classes the notes name. The bugs they fixed do not repair existing corruption, and some of it shows up as wrong or missing query results, not as a crash.
We only take full backups. Do we still need a new one?
Yes, after the patch and reindex, so the restore point includes the new indexes. The “discard incremental chains” warning is specifically for incremental backup users, but a fresh full backup is cheap insurance before a major-version plan.
Will this be a long outage?
The minor update is a binary restart, plus however long REINDEX CONCURRENTLY takes in the background. The 19 major upgrade is a planned pg_upgrade (or dump/restore) with a rehearsed window. Those are different jobs; don’t roll them into one night.
Want help with yours?
We do PostgreSQL upgrade and performance work as part of our database migration practice: minor-release runbooks, pg_upgrade --check, and rehearsed major-version cutovers. Book a call and we’ll walk through your version, extensions and backup setup.