473,473 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Building Thread-Safe on OS X

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?

TIA,

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #1
3 951
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.

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

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Nov 23 '05 #2
on 6/2/04 1:53 PM, pg***@candle.pha.pa.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"
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Nov 23 '05 #3
Keary Suska wrote:
on 6/2/04 1:53 PM, pg***@candle.pha.pa.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?


If the test program ran OK with no flag, you should be OK.

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

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Michael Hoffman | last post by:
Just out of curiosity, I was wondering if anyone has compiled Python 2.4 with the Intel C Compiler and its processor specific optimizations. I can build it fine with OPT="-O3" or OPT="-xN" but...
0
by: Kevin Parkes | last post by:
Because Active State haven't yet built the additional modules I will require I'm trying to build Perl 5.8.0 from source using dmake and the Borland C++ command line compiler from the cmd.exe...
6
by: Gianni Mariani | last post by:
Before I go deep into this - does anyone have the quick fix for this ? Some facts - the 7.3.4 version of plperl.c has the same errors in the 7.4 tree. The 7.4 version of plperl.c (with some...
2
by: David Parker | last post by:
Hi. I'm trying to build 7.4.3 on Solaris 9/Intel (gcc 3.2.2), and I get the following: ======================================================================== ================ gcc -O2...
0
by: Vidyasagara Guntaka | last post by:
Hi, I recently downloaded source code for 8.0.0 beta1. When I tried building the libpq for windows, I got some compilation errors. Following the compilation output:...
1
by: Diffident | last post by:
Hello All, I have a question as to why my users are noticing error when I am building the project on the production system. Here is the problem's background. In order to build the project on...
1
by: Justin Johnson | last post by:
Hello, I'm trying to build Python 2.5.0 on AIX 5.3 using IBM's compiler (VisualAge C++ Professional / C for AIX Compiler, Version 6). I run configure and make, but makes fails with undefined...
4
by: vedrandekovic | last post by:
Hi, I have already install Microsoft visual studio .NET 2003 and MinGw, when I try to build a extension: python my_extension_setup.py build ( or install ) , I get an error: LINK : fatal...
15
by: kyosohma | last post by:
Hi, I am trying to get a small group of volunteers together to create Windows binaries for any Python extension developer that needs them, much like the package/extension builders who volunteer...
4
by: Miner Jeff | last post by:
I need to build the name of a function from data in a text file. For example, after reading the variables 'FCTN_PREFIX' AND 'FCTN_SUFFIX' from the text file, I need to execute the function: ...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.