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

From Michael Paquier
Subject pgsql: Fix overly-lax regex pattern in TAP test of READ_REPLICATION_SLO
Date
Msg-id E1mfC5Z-0004M6-JJ@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Allow pg_receivewal to stream from a slot's restart LSN
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: pgsql: Allow pg_receivewal to stream from a slot's restart LSN