Alvaro Herrera <alvherre(at)commandprompt(dot)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