Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0f79caa

Browse files
committed
Second attempt to fix pgbench TAP test.
Bildfarm member prairiedog reported a pgbench TAP test failure after commit: 4a39f87. This is the second attempt to fix it. It seems older version of Perl does not accept "\gN". Replace it with plain old "\N" because actually "\gN" is not necessary here. Author: Tatsuo Ishii Reported-by: Tom Lane Reviewed-by: Tom Lane, Yugo Nagata Discussion: https://postgr.es/m/2775989.1648060014%40sss.pgh.pa.us
1 parent 52b5568 commit 0f79caa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pgbench/t/001_pgbench_with_server.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1222,9 +1222,9 @@ sub check_pgbench_logs
12221222
# delta variable in the next try
12231223
my $err_pattern =
12241224
"(client (0|1) sending UPDATE xy SET y = y \\+ -?\\d+\\b).*"
1225-
. "client \\g2 got an error in command 3 \\(SQL\\) of script 0; "
1225+
. "client \\2 got an error in command 3 \\(SQL\\) of script 0; "
12261226
. "ERROR: could not serialize access due to concurrent update\\b.*"
1227-
. "\\g1";
1227+
. "\\1";
12281228

12291229
$node->pgbench(
12301230
"-n -c 2 -t 1 -d --verbose-errors --max-tries 2",

0 commit comments

Comments
 (0)