Re: pgsql: Set random seed for pgbench. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Set random seed for pgbench.
Date
Msg-id 10686.1522514072@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql: Set random seed for pgbench.  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: pgsql: Set random seed for pgbench.
List pgsql-committers
Fabien COELHO <coelho@cri.ensmp.fr> writes:
>> So this patch has ignored the possibility of not having pg_strong_random.

> I assumed that pg_strong_random is always available,

... which is wrong.  Every other call of it is wrapped in
#ifdef HAVE_STRONG_RANDOM, and so must this one be.
We can use the same error message though, I suppose.

Adjusted and pushed.

            regards, tom lane


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix portability and translatability issues in commit 64f85894a.
Next
From: Fabien COELHO
Date:
Subject: Re: pgsql: Set random seed for pgbench.