diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2022-03-25 10:11:19 +0900 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2022-03-25 10:22:55 +0900 |
commit | 0f79caa3c61e643e6285524f3148a35fb61ddcf3 (patch) | |
tree | b99c240e63eca048ee2eafe4e05ed7f76906218c | |
parent | 52b5568432963b721698a2df1f37a0795b9611dc (diff) | |
download | postgresql-0f79caa3c61e643e6285524f3148a35fb61ddcf3.tar.gz postgresql-0f79caa3c61e643e6285524f3148a35fb61ddcf3.zip |
Second attempt to fix pgbench TAP test.
Bildfarm member prairiedog reported a pgbench TAP test failure after
commit: 4a39f87acd6e681e5ded1239391d8a92645b43d6. 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
-rw-r--r-- | src/bin/pgbench/t/001_pgbench_with_server.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pgbench/t/001_pgbench_with_server.pl b/src/bin/pgbench/t/001_pgbench_with_server.pl index 60cae1e8433..ca71f968dc4 100644 --- a/src/bin/pgbench/t/001_pgbench_with_server.pl +++ b/src/bin/pgbench/t/001_pgbench_with_server.pl @@ -1222,9 +1222,9 @@ local $ENV{PGOPTIONS} = "-c default_transaction_isolation=repeatable\\ read"; # delta variable in the next try my $err_pattern = "(client (0|1) sending UPDATE xy SET y = y \\+ -?\\d+\\b).*" - . "client \\g2 got an error in command 3 \\(SQL\\) of script 0; " + . "client \\2 got an error in command 3 \\(SQL\\) of script 0; " . "ERROR: could not serialize access due to concurrent update\\b.*" - . "\\g1"; + . "\\1"; $node->pgbench( "-n -c 2 -t 1 -d --verbose-errors --max-tries 2", |