Debian Patches

Status for pg-checksums/1.1-6

Patch Description Author Forwarded Bugs Origin Last update
fix_regression_tests_v16.patch commit 2b1fddbb9bed2a1eff24d7146abf68bb43934d55

Do not consider empty new pages a problem.

If a page is new, we check whether it consists only of zeros and mark it as a
checksum failure if this is not the case. If a page is new and all zero, we
marked this page as skipped for the statistics, however, offline checksum
verifications are considered as failed if there are skipped blocks.

Up to PostgreSQL v15 this was not a problem, but the regression tests started
to fail with v16 as some blocks were marked as skipped. To avoid this, consider
new but empty blocks as scanned but not skipped.

diff --git a/pg_checksums_ext.c b/pg_checksums_ext.c
index aaa9a86..9036860 100644
Michael Banck <michael.banck@credativ.de> no 2023-09-14

All known versions for source package 'pg-checksums'

Links