Re: BUG #13453: PostgreSQL 9.5dev pgbench exponential distribution bug? (when threshold is small)

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: digoal(at)126(dot)com
Cc: PostgreSQL Bugs List <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13453: PostgreSQL 9.5dev pgbench exponential distribution bug? (when threshold is small)
Date: 2015-06-18 14:54:51
Message-ID: alpine.DEB.2.10.1506181650200.2655@sto
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Fabien COELHO 2015-06-18 14:58:45 Re: BUG #13452: postgresql 9.5dev pgbench document problem.
Previous Message Sergi Casbas 2015-06-18 12:11:14 Re: BUG #13444: psql can't recover a pg_dump.