From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix overly-lax regex pattern in TAP test of READ_REPLICATION_SLO
Date: Tue, 26 Oct 2021 02:21:21 +0000
Message-ID: <E1mfC5Z-0004M6-JJ@gemulon.postgresql.org> (raw)
Fix overly-lax regex pattern in TAP test of READ_REPLICATION_SLOT
The case checking for a NULL output when a slot does not exist was
too lax, as it was passing for any output generated by the query. This
fixes the matching pattern to be what it should be, matching only on
"||".
Oversight in b4ada4e.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/0db343dc13bc8657976c39ddbf7e0c7db8b2efff
Modified Files
--------------
src/test/recovery/t/001_stream_rep.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Fix overly-lax regex pattern in TAP test of READ_REPLICATION_SLO
In-Reply-To: <E1mfC5Z-0004M6-JJ@gemulon.postgresql.org>
References: <E1mfC5Z-0004M6-JJ@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox