> On Nov 4, 2021, at 7:53 AM, Robert Haas <robertmh...@gmail.com> wrote:
> 
> But, is it plausible to add test coverage for the new checks, or is
> that going to be too much of a pain?

It only takes about 20 additional lines in the regression test to check the 
code paths for raw sizes which are too large and too small, so I've done that 
in this next version.  Testing corrupt compressed data in a deterministic, 
cross platform manner with a compact, easy to maintain regression test has 
eluded me and is not included here.

Attachment: v4-0001-Adding-more-toast-pointer-checks-to-amcheck.patch
Description: Binary data


—
Mark Dilger
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



Reply via email to