Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z5bDk-0008Ok-5U for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jun 2015 14:55:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z5bDj-0001cE-Lr for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jun 2015 14:55:11 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z5bDi-0001bs-VW for pgsql-bugs@postgresql.org; Thu, 18 Jun 2015 14:55:11 +0000 Received: from boipeva.ensmp.fr ([194.214.158.101]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Z5bDf-0004Mv-6l for pgsql-bugs@postgresql.org; Thu, 18 Jun 2015 14:55:09 +0000 Received: from cri.ensmp.fr (wifi2-mpt-090.paris.ensmp.fr [192.168.153.90]) (authenticated bits=0) by boipeva.ensmp.fr (8.15.1/8.14.9/JMMC-22/Oct/2013) with ESMTPSA id t5IEsqp7020387 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 18 Jun 2015 16:54:55 +0200 Date: Thu, 18 Jun 2015 16:54:51 +0200 (CEST) From: Fabien COELHO X-X-Sender: fabien@sto To: digoal@126.com cc: PostgreSQL Bugs List Subject: Re: BUG #13453: PostgreSQL 9.5dev pgbench exponential distribution bug? (when threshold is small) In-Reply-To: <20150618044100.2730.35003@wrigleys.postgresql.org> Message-ID: References: <20150618044100.2730.35003@wrigleys.postgresql.org> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Miltered: at boipeva.ensmp.fr with ID 5582DBBC.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Auth: USER-ID fabien.coelho X-j-chkmail-Enveloppe: 5582DBBC.000 from wifi2-mpt-090.paris.ensmp.fr/wifi2-mpt-090.paris.ensmp.fr/192.168.153.90/cri.ensmp.fr/ X-Pg-Spam-Score: -2.2 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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