Re: gaussian distribution pgbench

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: KONDO Mitsumasa <kondo(dot)mitsumasa(at)lab(dot)ntt(dot)co(dot)jp>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: gaussian distribution pgbench
Date: 2014-03-08 16:49:47
Message-ID: alpine.DEB.2.10.1403081745590.24082@sto
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2014-03-08 16:51:54 Re: Little confusing things about client_min_messages.
Previous Message Tom Lane 2014-03-08 16:31:22 Re: Little confusing things about client_min_messages.