Re: BUG #13453: PostgreSQL 9.5dev pgbench exponential distribution bug? (when threshold is small) - Mailing list pgsql-bugs

From Fabien COELHO
Subject Re: BUG #13453: PostgreSQL 9.5dev pgbench exponential distribution bug? (when threshold is small)
Date
Msg-id alpine.DEB.2.10.1506181650200.2655@sto
Whole thread Raw
In response to BUG #13453: PostgreSQL 9.5dev pgbench exponential distribution bug? (when threshold is small)  (digoal@126.com)
Responses Re: BUG #13453: PostgreSQL 9.5dev pgbench exponential distribution bug? (when threshold is small)  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-bugs
Hello,

> \setrandom id 1 50000 exponential 0.0000001
> insert into test values (:id);

Yes, a very small coefficient on a truncated exponential is pretty close
to a uniform distribution. I think that this is a mathematical fact, not a
bug.

--
Fabien.

pgsql-bugs by date:

Previous
From: digoal@126.com
Date:
Subject: BUG #13452: postgresql 9.5dev pgbench document problem.
Next
From: Fabien COELHO
Date:
Subject: Re: BUG #13452: postgresql 9.5dev pgbench document problem.