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-24 09:33:10
Message-ID: alpine.DEB.2.20.1801241031460.2307@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.
>
> This version adds a :random_seed script variable, for information.

Rebased.

--
Fabien.

Attachment Content-Type Size
pgbench-seed-8.patch text/x-diff 12.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vik Fearing 2018-01-24 09:33:17 Re: proposal: alternative psql commands quit and exit
Previous Message Pavel Stehule 2018-01-24 09:30:39 Re: [HACKERS] proposal - Default namespaces for XPath expressions (PostgreSQL 11)