Re: Re: [HACKERS] pgbench randomness initialization

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Chapman Flack <chap(at)anastigmatix(dot)net>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Re: [HACKERS] pgbench randomness initialization
Date: 2018-01-10 12:27:19
Message-ID: alpine.DEB.2.20.1801101107370.2283@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


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.

Attachment Content-Type Size
pgbench-seed-6.patch text/x-diff 9.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2018-01-10 12:36:24 Re: pgsql: Improve scripting language in pgbench
Previous Message Fabien COELHO 2018-01-10 10:00:24 Re: Re: [HACKERS] pgbench randomness initialization