Re: gaussian distribution pgbench - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: gaussian distribution pgbench
Date
Msg-id alpine.DEB.2.10.1403081745590.24082@sto
Whole thread Raw
In response to Re: gaussian distribution pgbench  (KONDO Mitsumasa <kondo.mitsumasa@lab.ntt.co.jp>)
Responses Re: gaussian distribution pgbench  (KONDO Mitsumasa <kondo.mitsumasa@lab.ntt.co.jp>)
List pgsql-hackers
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.

> What do you think?

I'm okay with this UI and its implementation.

-- 
Fabien.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Little confusing things about client_min_messages.
Next
From: Bruce Momjian
Date:
Subject: Re: Little confusing things about client_min_messages.