Re: usleep feature for pgbench

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: usleep feature for pgbench
Дата
Msg-id 12923.1183778011@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: usleep feature for pgbench  (Heikki Linnakangas <heikki@enterprisedb.com>)
Список pgsql-hackers
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> Jan Wieck wrote:
>> You mean as a second, optional argument? Good idea.
>> 
>> us = microseconds
>> ms = milliseconds
>> s  = seconds (default)
>> 
>> \sleep {value|:variable} [us|ms|s]
>> 
>> Is that okay with everyone?

> I won't object, but is it really worth the trouble?

If we don't get it right now, we'll be stuck with the API later.
+1 for the definition suggested above.
        regards, tom lane


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Bgwriter strategies
Следующее
От: Gregory Stark
Дата:
Сообщение: Checkpoints and buffers that are hint-bit-dirty