Re: Thread-safe configuration option appears to

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Lee Kindness <lkindness(at)csl(dot)co(dot)uk>
Cc: Larry Rosenman <ler(at)lerctr(dot)org>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Thread-safe configuration option appears to
Date: 2003-08-05 14:42:02
Message-ID: 200308051442.h75Eg2207986@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


We don't know the ramifications of doing that flag in the backend code,
and we don't know the performance problems of doing it in client
libraries.

First get your own platforms enabled for the existing thread flag, and
we can revisit this when most/all our platforms are supported. We want
to avoid confusion of having things work for some platforms and not
others with no way to communicate that to the users.

---------------------------------------------------------------------------

Lee Kindness wrote:
> Larry Rosenman writes:
> > What the fr*** harm is it in passing -D_REENTRANT into the libpq build on
> > UnixWare
> > irregardless of the --with-threads* flag?
>
> Indeed for every other sane system out there. Folk are messing around
> with the thread stuff using here-say as knowledge. We want to compile
> with _REENTRANT, always! Anything needed in ADDITON to _REENTRANT (i.e
> thread link flags for libecpg) can be discovered by configure and
> applied to the build. Even for the rest of PostgreSQL, it will work
> A-OK if we are already sticking to the rules (i.e. including <errno.h>
> when using errno).
>
> L.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2003-08-05 14:49:07 Re: problem with RH7.3 Pg7.3.4 binaries
Previous Message Larry Rosenman 2003-08-05 14:41:49 Re: Release changes