Re: BUG #15819: wrong expression in document of pgbench

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: koizumistr(at)minos(dot)ocn(dot)ne(dot)jp, PostgreSQL Bugs <pgsql-bugs(at)lists(dot)postgresql(dot)org>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #15819: wrong expression in document of pgbench
Date: 2019-05-24 14:33:43
Message-ID: alpine.DEB.2.21.1905241631310.29379@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers


> In example of random_zipfian, the explanation is "which itself(2) is
> produced (3/2)*2.5 = 2.76 times more frequently than 3".
> "(3/2)*2.5 = 2.76" is wrong. The correct expression is "(3/2)**2.5 = 2.76".

Indeed. Attached patch to fix this typo.

--
Fabien

Attachment Content-Type Size
pgbench-doc-minor-fix-1.patch text/x-diff 726 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2019-05-24 15:16:53 Re: BUG #15819: wrong expression in document of pgbench
Previous Message PG Bug reporting form 2019-05-24 14:01:46 BUG #15819: wrong expression in document of pgbench

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2019-05-24 14:50:04 Re: [HACKERS] Runtime Partition Pruning
Previous Message Tom Lane 2019-05-24 14:28:23 Re: Excessive memory usage in multi-statement queries w/ partitioning