Re: pgbench - minor doc improvements
От | Michael Paquier |
---|---|
Тема | Re: pgbench - minor doc improvements |
Дата | |
Msg-id | CAB7nPqQZxwxpEGAuq8X17VPi+9VYMGFoqd8t6yJcxz9yru3aGw@mail.gmail.com обсуждение исходный текст |
Ответ на | pgbench - minor doc improvements (Fabien COELHO <coelho@cri.ensmp.fr>) |
Ответы |
Re: pgbench - minor doc improvements
|
Список | pgsql-hackers |
On Sat, Jul 9, 2016 at 4:48 PM, Fabien COELHO <coelho@cri.ensmp.fr> wrote: > > Minor pgbench documentation improvements so that the description is more > precise: > > - a pgbench script may not contain SQL commands, it only needs not to be > empty. Halfly true as far as I recall. This works and generates two queries: SELECT 1; \set two 3 SELECT :two; But any query added after the meta-command cannot be parsed. > - point out explicitely variable setting meta commands. > - the formula is short enough to fit on a line. <literallayout> -f(x) = PHI(2.0 * parameter * (x - mu) / (max - min + 1)) / - (2.0 * PHI(parameter) - 1) +f(x) = PHI(2.0 * parameter * (x - mu) / (max - min + 1)) / (2.0 * PHI(parameter) - 1) At full-length this is 85 characters. But I agree that it is more readable to put that into a single line. Now we could as well trick the limit by using "param" instead of "parameter". -- Michael
В списке pgsql-hackers по дате отправления: