From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: pgbench: Remove \setrandom. |
Date: | 2016-03-29 16:11:59 |
Message-ID: | E1akwFL-0004JO-09@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2016-03-29 17:49:49 | pgsql: pgbench: allow a script weight of zero |
Previous Message | Tom Lane | 2016-03-29 15:56:01 | pgsql: Avoid possibly-unsafe use of Windows' FormatMessage() function. |