Thread
Commits
-
Doc: fix typo in pgbench random_zipfian() documentation.
- 591fb289c3ee 12.0 landed
- 329575db94cd 11.4 landed
-
BUG #15819: wrong expression in document of pgbench
The Post Office <noreply@postgresql.org> — 2019-05-24T14:01:46Z
The following bug has been logged on the website: Bug reference: 15819 Logged by: KOIZUMI Satoru Email address: koizumistr@minos.ocn.ne.jp PostgreSQL version: 11.3 Operating system: (Any) Description: 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".
-
Re: BUG #15819: wrong expression in document of pgbench
Fabien COELHO <coelho@cri.ensmp.fr> — 2019-05-24T14:33:43Z
> 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
-
Re: BUG #15819: wrong expression in document of pgbench
Tom Lane <tgl@sss.pgh.pa.us> — 2019-05-24T15:16:53Z
Fabien COELHO <coelho@cri.ensmp.fr> writes: >> 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. Indeed. Pushed. regards, tom lane