Re: Building Thread-Safe on OS X

From: Keary Suska <hierophant(at)pcisys(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Building Thread-Safe on OS X
Date: 2004-06-04 18:35:01
Message-ID: BCE61CF5.11897%hierophant@pcisys.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

on 6/2/04 1:53 PM, pgman(at)candle(dot)pha(dot)pa(dot)us purportedly said:

> Keary Suska wrote:
>> I followed the directions in the /src/tools/thread directory, ran the test
>> program, which said everything was OK and recommended another setting, which
>> I added to the template/reconfigured/recompiled. Both the test program and
>> readme mentioned thread-specific compiler directives but didn't say which or
>> what values, so I didn't add any.
>>
>> Can I assume that I have a thread-safe libpq, or is there something I am
>> missing?
>
> Sorry, you need to add --enable-thread-safety to the configure run. In
> 7.5, you still need the flag, but all the testing is done automatically.

I did that--the only direction I didn't follow (because I wasn't sure what
was needed) was the following:
"add any THREAD_CPPFLAGS and THREAD_LIBS defines to your
template/${port} file"

Do you think I'm OK then?

Best,

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joseph Shraibman 2004-06-04 18:50:29 Re: VACUUM Question
Previous Message Marc G. Fournier 2004-06-04 17:53:49 Re: [pgsql-advocacy] Slony-I goes BETA