Обсуждение: BUG #13452: postgresql 9.5dev pgbench document problem.

Поиск
Список
Период
Сортировка

BUG #13452: postgresql 9.5dev pgbench document problem.

От
digoal@126.com
Дата:
The following bug has been logged on the website:

Bug reference:      13452
Logged by:          digoal
Email address:      digoal@126.com
PostgreSQL version: Unsupported/Unknown
Operating system:   CentOS 6.x x64
Description:

An problem in 9.5dev Document.
http://www.postgresql.org/docs/devel/static/pgbench.html

\set aid (1021 * :aid) % (100000 * :scale) + 1

-- aid undefined~

Regards,
Digoal

Re: BUG #13452: postgresql 9.5dev pgbench document problem.

От
Fabien COELHO
Дата:
> An problem in 9.5dev Document.
> http://www.postgresql.org/docs/devel/static/pgbench.html
>
> \set aid (1021 * :aid) % (100000 * :scale) + 1
>
> -- aid undefined~

This example is not intended to be self-contained, this line assumes that
aid is already set, and would be okay in such case.

I guess the documentation examples could be made less surprising.

--
Fabien.