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

2019-05-24 Thread Fabien COELHO
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. -- Fabiendiff --git a/doc/src/sgml/ref/pgbench.sg

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

2019-05-24 Thread Fabien COELHO
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. -- Fabiendiff --git a/doc/src/sgml/ref/pgbench.sg