]> granicus.if.org Git - postgresql/commitdiff
Allow leading zero on exponents in pgbench test results
authorAndrew Dunstan <andrew@dunslane.net>
Fri, 29 Dec 2017 13:40:18 +0000 (08:40 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Fri, 29 Dec 2017 13:40:18 +0000 (08:40 -0500)
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

index 9cbeb2fc111f937c702e01849bdda8525e38c36e..3dd080e6e686a0419b83f6ea8baa67e5ccc3c809 100644 (file)
@@ -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