Thread: pgsql: pgbench: Remove \setrandom.

pgsql: pgbench: Remove \setrandom.

From
Robert Haas
Date:
pgbench: Remove \setrandom.

You can now do the same thing via \set using the appropriate function,
either random(), random_gaussian(), or random_exponential(), depending
on the desired distribution.  This is not backward-compatible, but per
discussion, it's worth it to avoid having the old syntax hang around
forever.

Fabien Coelho, reviewed by Michael Paquier, and adjusted by me.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ad9566470b1ba63167d1dc7ae2cb52d88a448f76

Modified Files
--------------
doc/src/sgml/ref/pgbench.sgml |  54 -------------
src/bin/pgbench/pgbench.c     | 181 +-----------------------------------------
2 files changed, 2 insertions(+), 233 deletions(-)