Here is a revised version of the pgbench duration patch. I merged some comments from Brendan and gnari.
"Brendan Jurd" <[EMAIL PROTECTED]> wrote: > >> Wouldn't this be better written as: > >> if ((duration > 0 && timer_exceeded) || st->cnt >= nxacts) > > > > sorry, but these do not lok as the same thing to me. > > gnari I used this condition expression here: if ((st->cnt >= nxacts && duration <= 0) || timer_exceeded) Regards, --- ITAGAKI Takahiro NTT Open Source Software Center
pgbench-duration_v3.patch
Description: Binary data
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers