From: Fabien COELHO <coelho@cri.ensmp.fr>
To: digoal@126.com
Cc: PostgreSQL Bugs List <pgsql-bugs@postgresql.org>
Subject: Re: BUG #13453: PostgreSQL 9.5dev pgbench exponential distribution bug? (when threshold is small)
Date: Thu, 18 Jun 2015 16:54:51 +0200 (CEST)
Message-ID: <alpine.DEB.2.10.1506181650200.2655@sto> (raw)
In-Reply-To: <20150618044100.2730.35003@wrigleys.postgresql.org>
References: <20150618044100.2730.35003@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: coelho@cri.ensmp.fr, digoal@126.com
Subject: Re: BUG #13453: PostgreSQL 9.5dev pgbench exponential distribution bug? (when threshold is small)
In-Reply-To: <alpine.DEB.2.10.1506181650200.2655@sto>
References: <20150618044100.2730.35003@wrigleys.postgresql.org> <alpine.DEB.2.10.1506181650200.2655@sto>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox