Fix buildfarm failure from commit 8fcd80258b.
authorAmit Kapila <[email protected]>
Wed, 27 Nov 2024 09:24:26 +0000 (14:54 +0530)
committerAmit Kapila <[email protected]>
Wed, 27 Nov 2024 09:24:26 +0000 (14:54 +0530)
The test case was incorrectly matching the error code.

Author: Vignesh C
Discussion: https://postgr.es/m/CALDaNm0C5LPiTxkdqsxiyeaL=nuUP8t6ne81sp9jE0=MFz=-ew@mail.gmail.com

src/test/subscription/t/011_generated.pl

index 66e6d8da5ac776783bdd61875a04f7427fe9698f..b1b87cf85e3d7a65d5e855bfec651536fcdddcde 100644 (file)
@@ -361,7 +361,7 @@ $node_subscriber->safe_psql(
 # Verify that an error occurs.
 my $offset = -s $node_subscriber->logfile;
 $node_subscriber->wait_for_log(
-   qr/ERROR: ( [A-Z0-9]:)? logical replication target relation "public.t1" has incompatible generated columns: "c2", "c3"/,
+   qr/ERROR: ( [A-Z0-9]+:)? logical replication target relation "public.t1" has incompatible generated columns: "c2", "c3"/,
    $offset);
 
 # cleanup