Re: usleep feature for pgbench

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: usleep feature for pgbench
Дата
Msg-id 2384.1183822817@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: usleep feature for pgbench  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: usleep feature for pgbench
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Jan Wieck wrote:
>> You mean as a second, optional argument? Good idea.

> I think it should only be one argument, with the units being part of the 
> variable value, if any.

No, because that makes it hard to do things like "sleep for a small
random number of microseconds".  If pgbench had string concatenation
ability in its metalanguage then what you suggest would be sensible,
but let us not go there.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Checkpoints and buffers that are hint-bit-dirty
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Tidied up patch status page