Content-Length: 267343 | pFad | http://github.com/postgrespro/postgres/commit/0f79caa3c61e643e6285524f3148a35fb61ddcf3

FE Second attempt to fix pgbench TAP test. · postgrespro/postgres@0f79caa · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/0f79caa3c61e643e6285524f3148a35fb61ddcf3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy