pgsql: Fix regex searching for page verification failures in tests
pgsql: Fix regex searching for page verification failures in tests
От:
Daniel Gustafsson <dgustafsson@postgresql.org>
Дата:
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 Reviewed-by: Satyanarayana Narlapuram Reviewed-by: Ayush Tiwari Discussion: https://postgr.es/m/CAHg+QDeGrpZbNZdLjd_T4b43xKEEXZN0HGhkFm-1bkBdyzK7AQ@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/486b9a9b9eb45f48be183f0fc3cf3dc657026438 Modified Files -------------- src/test/modules/test_checksums/t/006_pgbench_single.pl | 6 +++--- src/test/modules/test_checksums/t/007_pgbench_standby.pl | 12 ++++++------ src/test/modules/test_checksums/t/008_pitr.pl | 2 +- src/test/modules/test_checksums/t/009_fpi.pl | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-)