Re: gaussian distribution pgbench
От | Fujii Masao |
---|---|
Тема | Re: gaussian distribution pgbench |
Дата | |
Msg-id | CAHGQGwHXwqoYp3GnABbm_yXsnRFTsAYHA2RMd278xF72wx3C_Q@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: gaussian distribution pgbench (KONDO Mitsumasa <kondo.mitsumasa@lab.ntt.co.jp>) |
Ответы |
Re: gaussian distribution pgbench
Re: gaussian distribution pgbench |
Список | pgsql-hackers |
On Tue, Mar 11, 2014 at 1:49 PM, KONDO Mitsumasa <kondo.mitsumasa@lab.ntt.co.jp> wrote: > (2014/03/09 1:49), Fabien COELHO wrote: >> >> >> Hello Mitsumasa-san, >> >>> New "\setrandom" interface is here. >>> \setrandom var min max [gaussian threshold | exponential threshold] >> >> >>> Attached patch realizes this interface, but it has little bit ugly >>> codeing in >>> executeStatement() and process_commands().. >> >> >> I think it is not too bad. The "ignore extra arguments on the line" is a >> little >> pre-existing mess anyway. > > All right. > > >>> What do you think? >> >> >> I'm okay with this UI and its implementation. > > OK. We should do the same discussion for the UI of command-line option? The patch adds two options --gaussian and --exponential, but this UI seems to be a bit inconsistent with the UI for \setrandom. Instead, we can use something like --distribution=[uniform | gaussian | exponential]. Regards, -- Fujii Masao
В списке pgsql-hackers по дате отправления: