On Tue, Mar 16, 2021 at 2:32 AM Mark Dilger
<mark.dil...@enterprisedb.com> wrote:
>
> We do test corrupt relations.  We intentionally corrupt the pages within 
> corrupted heap tables to check that they get reported as corrupt.  (See 
> src/bin/pg_amcheck/t/004_verify_heapam.pl)

I disagree.  You're testing a modified version of the pages in OS
cache, which is very likely to be different from real world
corruption.  Those usually end up with a discrepancy between storage
and OS cache and this scenario isn't tested nor documented.


Reply via email to