Re: gaussian distribution pgbench

Поиск
Список
Период
Сортировка
От Mitsumasa KONDO
Тема Re: gaussian distribution pgbench
Дата
Msg-id CADupcHW5MkQiQLpTOwdSZyALnsAaWKZ228eaX2DONMzybTiQag@mail.gmail.com
обсуждение исходный текст
Ответ на Re: gaussian distribution pgbench  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers

2014-03-15 19:04 GMT+09:00 Fabien COELHO <coelho@cri.ensmp.fr>:

Nice drawing!


 * How about setting the variable as a float instead of integer? Would
seem more natural to me. At least as an option.

Which variable? The values set by setrandom are mostly used for primary
keys. We really want integers in a range.

I think he said threshold parameter. Threshold parameter is very sensitive
parameter, so we need to set double in threshold. I think that you can
consent it when you see attached picture.
Oh, sorry.. It is to Heikki. Not to you...
 
I'm sure that the threshold must be a double, but I thought it was already the case, because of atof, the static variables which are declared double, and the threshold function parameters which are declared double as well, and the putVariable uses a "%lf" format...
I think it's collect. When we get double argument in scanf(), we can use %lf format.
 
Possibly I'm missing something?
Sorry. I think nothing is missing.

regards,
--
Mitsumasa KONDO

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: gaussian distribution pgbench
Следующее
От: Greg Stark
Дата:
Сообщение: Re: jsonb and nested hstore