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-18T22:29:59Z
Lists: pgsql-hackers
Attachments
- pgbench-seed-7.patch (text/x-diff) patch
> 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. This version adds a :random_seed script variable, for information. -- Fabien.
Commits
-
Set random seed for pgbench.
- 64f85894ad27 11.0 landed
-
Fix pgbench TAP test to work in VPATH builds.
- e94f2bc809a0 11.0 landed