Re: usleep feature for pgbench - Mailing list pgsql-hackers

From Tom Lane
Subject Re: usleep feature for pgbench
Date
Msg-id 12923.1183778011@sss.pgh.pa.us
Whole thread Raw
In response to Re: usleep feature for pgbench  (Heikki Linnakangas <heikki@enterprisedb.com>)
List 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 by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Bgwriter strategies
Next
From: Gregory Stark
Date:
Subject: Checkpoints and buffers that are hint-bit-dirty