Re: multi-threaded pgbench - Mailing list pgsql-hackers

From Tom Lane
Subject Re: multi-threaded pgbench
Date
Msg-id 22112.1247067965@sss.pgh.pa.us
Whole thread Raw
In response to Re: multi-threaded pgbench  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: multi-threaded pgbench  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
List 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 by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: multi-threaded pgbench
Next
From: Andrew Dunstan
Date:
Subject: Re: multi-threaded pgbench