pgsql: Fix regex searching for page verification failures in tests - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Fix regex searching for page verification failures in tests
Date
Msg-id E1wKZfP-000ZiN-05@gemulon.postgresql.org
Whole thread
List pgsql-committers
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

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(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: Skip WAL for unlogged main fork during online checksum enable
Next
From: Alexander Korotkov
Date:
Subject: pgsql: Fix WAIT FOR LSN cleanup on subtransaction abort