Re: [Review] pgbench duration option

Поиск
Список
Период
Сортировка
От ITAGAKI Takahiro
Тема Re: [Review] pgbench duration option
Дата
Msg-id 20080908174150.9839.52131E4D@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: [Review] pgbench duration option  ("Brendan Jurd" <direvus@gmail.com>)
Ответы Re: [Review] pgbench duration option
Re: [Review] pgbench duration option
Re: [Review] pgbench duration option
Список pgsql-hackers
Here is a revised version of the pgbench duration patch.
I merged some comments from Brendan and gnari.

"Brendan Jurd" <direvus@gmail.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)

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center


Вложения

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

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: Prototype: In-place upgrade v02
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Prototype: In-place upgrade v02