Here is a revised version of the pgbench duration patch.
I merged some comments from Brendan and gnari.
"Brendan Jurd" <direvus(at)gmail(dot)com> 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)
NTT Open Source Software Center
In response to
pgsql-hackers by date
|Next:||From: Heikki Linnakangas||Date: 2008-09-08 09:10:36|
|Subject: Re: Prototype: In-place upgrade v02|
|Previous:||From: Zdenek Kotala||Date: 2008-09-08 08:58:09|
|Subject: Re: hash index improving v3|