]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix regex searching for page verification failures in tests
authorDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 6 May 2026 10:38:15 +0000 (12:38 +0200)
committerDaniel Gustafsson <dgustafsson@postgresql.org>
Wed, 6 May 2026 10:38:15 +0000 (12:38 +0200)
commit486b9a9b9eb45f48be183f0fc3cf3dc657026438
tree0fd510d8a7fcbcf47a859351b04ee8684653be3b
parent9a39056c418c83f164a25c8c2ee34600da99bfc7
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
src/test/modules/test_checksums/t/006_pgbench_single.pl
src/test/modules/test_checksums/t/007_pgbench_standby.pl
src/test/modules/test_checksums/t/008_pitr.pl
src/test/modules/test_checksums/t/009_fpi.pl