Re: Thread safety

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Thread safety
Date: 2008-11-27 09:37:48
Message-ID: 492E6A6C.4030905@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2008-11-27 10:31:05 Re: Brittleness in regression test setup
Previous Message Nikhil Sontakke 2008-11-27 09:06:16 Re: Fwd: [PATCHES] Auto Partitioning Patch - WIP version 1