Fabien COELHO wrote:
>
> 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.
It's a fact of life also ... you don't notice exponentially-growing
stuff until it's way out of hand :-)
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services