public inbox for [email protected]  
help / color / mirror / Atom feed
From: Daniel Gustafsson <[email protected]>
To: [email protected]
Subject: pgsql: Fix regex searching for page verification failures in tests
Date: Wed, 06 May 2026 10:39:47 +0000
Message-ID: <[email protected]> (raw)

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 <[email protected]>
Reviewed-by: Satyanarayana Narlapuram <[email protected]>
Reviewed-by: Ayush Tiwari <[email protected]>
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(-)



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Fix regex searching for page verification failures in tests
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox