]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Use older name for test_primary_datadir
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 31 Jan 2024 00:19:55 +0000 (19:19 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 31 Jan 2024 00:23:13 +0000 (19:23 -0500)
Releases prior to  14 used the older naming scheme. This  fixes a bug un
the back-patches of 6ee26c6a4b in releases 12 and 13.

src/bin/pg_rewind/t/003_extrafiles.pl

index 984f174662d0822edf9ecb7445835e0d923e94a1..5629c93a6b9322f7057d8c5972ee56c9780c35a3 100644 (file)
@@ -77,7 +77,7 @@ sub run_test
                {
                        $filename =~ s{\\}{/}g;
                }
-               $test_primary_datadir =~ s{\\}{/}g;
+               $test_master_datadir =~ s{\\}{/}g;
        }
 
        is_deeply(