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

From Heikki Linnakangas
Subject Re: multi-threaded pgbench
Date
Msg-id 4A54BE1F.1070401@enterprisedb.com
Whole thread Raw
In response to Re: multi-threaded pgbench  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: multi-threaded pgbench  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Alvaro Herrera wrote:
> 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.

My thoughts as well. But I wonder, would it be harder or easier to use
fork() instead?

--  Heikki Linnakangas EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Re: Synch Rep: direct transfer of WAL file from the primary to the standby
Next
From: Tom Lane
Date:
Subject: Re: multi-threaded pgbench