Re: BUG #13452: postgresql 9.5dev pgbench document problem. - Mailing list pgsql-bugs

From Fabien COELHO
Subject Re: BUG #13452: postgresql 9.5dev pgbench document problem.
Date
Msg-id alpine.DEB.2.10.1506181655520.2655@sto
Whole thread Raw
In response to BUG #13452: postgresql 9.5dev pgbench document problem.  (digoal@126.com)
List pgsql-bugs
> 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.

pgsql-bugs by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: BUG #13453: PostgreSQL 9.5dev pgbench exponential distribution bug? (when threshold is small)
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #13453: PostgreSQL 9.5dev pgbench exponential distribution bug? (when threshold is small)