Re: Thread configure flag

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Thread configure flag
Date: 2003-06-16 14:20:31
Message-ID: 200306161420.h5GEKVh09727@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Peter Eisentraut wrote:
> Bruce Momjian writes:
>
> > This applied patch adds --with-threads to configure. This will soon be
> > hooked into libpq. Doc additions made too.
>
> Is there a reason why this isn't the default?
>

If it is the default, libpq is going to use the libc_r library, at least
on some platforms, and that may not be desired. Fortunately, the flag
has no effect on the backend code.

One funny thing is that on BSD/OS and NetBSD, because there are no
thread compile flags, function names, or libraries, libpq is the same
code with or without the flag. ecpg, however, has thread calls, and is
effected on every platform.

--
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-patches by date

  From Date Subject
Next Message Tom Lane 2003-06-16 14:42:14 Re: Thread configure flag
Previous Message Tom Lane 2003-06-16 13:22:11 Re: ECPG CVS version problems