pgsql: Set random seed for pgbench.
От | Teodor Sigaev |
---|---|
Тема | pgsql: Set random seed for pgbench. |
Дата | |
Msg-id | E1f0U1H-00005J-98@gemulon.postgresql.org обсуждение исходный текст |
Ответы |
Re: pgsql: Set random seed for pgbench.
|
Список | pgsql-committers |
Set random seed for pgbench. Setting random could increase reproducibility of test in some cases. Patch suggests three providers for seed: time (default), strong random generator (if available) and unsigned constant. Seed could be set from command line or enviroment variable. Author: Fabien Coelho Reviewed by: Chapman Flack Discussion: https://www.postgresql.org/message-id/flat/20160407082711.q7iq3ykffqxcszkv@alap3.anarazel.de Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/64f85894ad2730fb1449a8e81dd8026604e9a546 Modified Files -------------- doc/src/sgml/ref/pgbench.sgml | 42 +++++++++++++++++ src/bin/pgbench/pgbench.c | 69 +++++++++++++++++++++++++--- src/bin/pgbench/t/001_pgbench_with_server.pl | 69 +++++++++++++++++++++++++--- src/bin/pgbench/t/002_pgbench_no_server.pl | 2 + 4 files changed, 170 insertions(+), 12 deletions(-)
В списке pgsql-committers по дате отправления: