Re: pgsql: Set random seed for pgbench.
От | Tom Lane |
---|---|
Тема | Re: pgsql: Set random seed for pgbench. |
Дата | |
Msg-id | 32390.1522464534@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | pgsql: Set random seed for pgbench. (Teodor Sigaev <teodor@sigaev.ru>) |
Ответы |
Re: pgsql: Set random seed for pgbench.
|
Список | pgsql-committers |
Teodor Sigaev <teodor@sigaev.ru> writes: > Set random seed for pgbench. So this patch has ignored the possibility of not having pg_strong_random. That's moving the portability goalposts in a way that I do not find acceptable for such a marginal feature. What behavior do you think we should have for platforms without that --- accept the seed=rand option but then error out, or not recognize the option at all? BTW, I also note that the patch is constructing error messages from sentence fragments, which is verboten per translatability policy. While that's perhaps not too important as long as we don't have message translations for pgbench, it still seems like something to fix now not later. regards, tom lane
В списке pgsql-committers по дате отправления: