pgsql: Fix overly-lax regex pattern in TAP test of READ_REPLICATION_SLO

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix overly-lax regex pattern in TAP test of READ_REPLICATION_SLO
Date: 2021-10-26 02:21:21
Message-ID: E1mfC5Z-0004M6-JJ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Kyotaro Horiguchi 2021-10-26 02:23:04 Re: pgsql: Allow pg_receivewal to stream from a slot's restart LSN
Previous Message Amit Kapila 2021-10-26 02:20:06 Re: pgsql: Remove unused wait events.