pgsql: pgbench: Remove \setrandom.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: pgbench: Remove \setrandom.
Дата
Msg-id E1akwFL-0004JO-09@gemulon.postgresql.org
обсуждение исходный текст
Список 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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Avoid possibly-unsafe use of Windows' FormatMessage() function.
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: pgbench: allow a script weight of zero