From 0aa1d489ea756b96b6d5573692ae9cd5d143c2a5 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Fri, 29 Dec 2017 08:40:18 -0500 Subject: [PATCH] Allow leading zero on exponents in pgbench test results Following commit 7a727c18 this is found to be necessary on at least some Windows platforms. per buildfarm. --- src/bin/pgbench/t/001_pgbench_with_server.pl | 4 ++-- 1 file 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 9cbeb2fc11..3dd080e6e6 100644 --- a/src/bin/pgbench/t/001_pgbench_with_server.pl +++ b/src/bin/pgbench/t/001_pgbench_with_server.pl @@ -240,8 +240,8 @@ pgbench( qr{command=28.: double -0.125\b}, qr{command=29.: double -0.125\b}, qr{command=30.: double -0.00032\b}, - qr{command=31.: double 8.50705917302346e\+37\b}, - qr{command=32.: double 1e\+30\b}, + qr{command=31.: double 8.50705917302346e\+0?37\b}, + qr{command=32.: double 1e\+0?30\b}, ], 'pgbench expressions', { '001_pgbench_expressions' => q{-- integer functions