Fix regex searching for page verification failures in tests
Daniel Gustafsson <dgustafsson@postgresql.org>
Author:
Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2026-05-06T10:38:15Z
Releases:
19 (unreleased)
Fix regex searching for page verification failures in tests The test for finding page verification failures in the logfiles were missing the /m modifier to make sure it anchors to every newline in the search space buffer, and not just the last one. Spotted while adding a test for the recently reported issue with excessive WAL for unlogged relations. Author: Daniel Gustafsson <daniel@yesql.se> Reviewed-by: Satyanarayana Narlapuram <satyanarlapuram@gmail.com> Reviewed-by: Ayush Tiwari <ayushtiwari.slg01@gmail.com> Discussion: https://postgr.es/m/CAHg+QDeGrpZbNZdLjd_T4b43xKEEXZN0HGhkFm-1bkBdyzK7AQ@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/modules/test_checksums/t/006_pgbench_single.pl | modified | +3 −3 |
| src/test/modules/test_checksums/t/007_pgbench_standby.pl | modified | +6 −6 |
| src/test/modules/test_checksums/t/008_pitr.pl | modified | +1 −1 |
| src/test/modules/test_checksums/t/009_fpi.pl | modified | +1 −1 |
Discussion
- Changing the state of data checksums in a running cluster 144 messages · 2024-07-03 → 2026-07-02