Re: Thread safety - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Thread safety
Date
Msg-id 492E6A6C.4030905@gmx.net
Whole thread Raw
In response to Thread safety  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Thread safety
List pgsql-hackers
Magnus Hagander wrote:
> Can someone remind me why we have --enable-thread-safety? As opposed to 
> it being default and having --disable-thread-safety.

I don't have any numbers or a roster to support this, but I suppose that 
thread-safety is not supported on some platforms.  So either we'd have 
to have diverging defaults or annoy those unsupported platforms with a 
mandatory switch.  The situation is quite similar in my view to the 
integer datetimes switch: we need a very high level of platform support 
before turning this on by default.

(I suppose there was initially also some general uncertainty about the 
maturity of thread things, but I think we can consider that satisfied by 
now.)


pgsql-hackers by date:

Previous
From: "Nikhil Sontakke"
Date:
Subject: Re: Fwd: [PATCHES] Auto Partitioning Patch - WIP version 1
Next
From: Peter Eisentraut
Date:
Subject: Re: Brittleness in regression test setup