In this article
A missing TOAST chunk can reflect stale index metadata after REINDEX CONCURRENTLY; 18.7 fixes the cache path and identifies reindexing as repair for this case.
PostgreSQL 18.7 repairs relation-cache handling of mutable pg_index fields for TOAST-table indexes. REINDEX CONCURRENTLY can change those fields, but the cache did not expect the changes and could miss index updates. The resulting missing chunk number errors can therefore represent index corruption while the TOAST table itself remains intact. The release says REINDEX is sufficient for this particular recovery, which is more specific than assuming the stored large values are irretrievably lost.
Mutable catalog fields require cache invalidation
The upstream entry names mutable pg_index fields rather than corrupted source tuples. An index replacement changes metadata that active backends must interpret correctly. A proposed qualification exercises concurrent reindexing while operations continue to update large stored values, then verifies reads through the resulting TOAST index. Rebuilding an idle table in a fresh session would omit the stale-cache interaction and could pass without proving that existing backend state is refreshed correctly.
The error message does not locate every failure
Missing chunk number is a visible consequence named by the release, but the patch does not claim that every such error has this cause. An incident review should preserve the concurrent reindex history and evidence of missing index entries before choosing this explanation. The important diagnostic distinction is between an index that cannot locate existing chunks and a table that has actually lost them. Recovery decisions should follow that distinction rather than the wording alone.
Rebuild the affected structure after updating
The notes explicitly say the TOAST table is fine in the described case and REINDEX suffices. A repair plan should therefore identify the affected structure, install corrected code and record completion of the chosen rebuild operation. Verify representative large-value reads afterward against known data. The release does not prescribe an all-database restore or promise that an interrupted rebuild repairs anything; the outcome must be tied to the operation that actually completed.
Concurrent maintenance needs active-session coverage
The broader review question is whether online maintenance tests include the backends that survive metadata replacement. Fresh-session correctness alone is weaker evidence. This patch supplies one concrete example, not a general guarantee about all relation-cache behavior. Qualification can keep old and new sessions in the test and compare their results after the maintenance boundary. Any performance or availability claim for concurrent reindexing still requires its own workload measurements and operational constraints.
Sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.