Re: multi-threaded pgbench

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: multi-threaded pgbench
Дата
Msg-id 22112.1247067965@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: multi-threaded pgbench  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: multi-threaded pgbench  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Itagaki Takahiro wrote:
>> Is it acceptable to use pthread in contrib module?

> We don't have a precedent it seems.  I think the requirement would be
> that it should compile if pthread support is not present.

Right.  Breaking it for non-pthread environments is not acceptable.

The real question here is whether it will be a problem if pgbench
delivers significantly different results when built with or without
threading support.  I can see arguents either way on that ...
        regards, tom lane


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: multi-threaded pgbench
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: multi-threaded pgbench