Re: Re: [HACKERS] pgbench randomness initialization

Fabien COELHO <coelho@cri.ensmp.fr>

From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Chapman Flack <chap@anastigmatix.net>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>, Robert Haas <robertmhaas@gmail.com>, Andres Freund <andres@anarazel.de>, PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2018-01-10T12:27:19Z
Lists: pgsql-hackers

Attachments

Here is a rebase, plus some more changes:

I have improved the error message to tell from where the value was 
provided.

I have removed the test to the exact values produced from the expression 
test run.

I have added a test which run from the same seed value several times
and checks that the output values are the same.

-- 
Fabien.

Commits

  1. Set random seed for pgbench.

  2. Fix pgbench TAP test to work in VPATH builds.