RefLib

Reference library for AI

Back

postgresql_16:9.6.2.4 Repairing Corruption

PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > amcheck — tools to verify table and index consistency > Repairing Corruption

No error concerning corruption raised by amcheck should ever be a false positive. amcheck raises errors in the event of conditions that, by definition, should never happen, and so careful analysis of amcheck errors is often required.

There is no general method of repairing problems that amcheck detects. An explanation for the root cause of an invariant violation should be sought. (see postgresql_16:9.6.25) may play a useful role in diagnosing corruption that amcheck detects. A REINDEX may not be effective in repairing corruption.

Back