From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Michael Meskes <meskes(at)postgresql(dot)org> |
Cc: | Lee Kindness <lkindness(at)csl(dot)co(dot)uk>, "Shridhar Daithankar<shridhar_daithankar(at)persistent(dot)co(dot)in>" <shridhar_daithankar(at)persistent(dot)co(dot)in>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: ECPG, threading and pooling |
Date: | 2003-01-27 15:26:53 |
Message-ID: | 711.1043681213@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Michael Meskes <meskes(at)postgresql(dot)org> writes:
>> Keep the thread hacking on the client side, please. Isn't there one of
>> the ecpg/include/ files that would be suitable?
> Yes, there is. Better make that there are. There is a file called
> extern.h both in preproc as well as in lib and each file in the
> directory does include the extern.h in its own directory. So we just
> need to add it twice I guess.
The preproc code doesn't need to be thread-safe does it?
One issue we already fought with for large-file support is that that
#define _REENTRANT probably needs to appear before you start to include
any system header files. You may find that the best way to handle it
is to make it a "-D_REENTRANT" added to CPPFLAGS (only within ecpg/lib),
rather than trying to find a safe place to put it in the .h files.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Reggie Burnett | 2003-01-27 15:44:52 | Re: Request for qualified column names |
Previous Message | Antti Haapala | 2003-01-27 15:24:00 | Re: Switching connection on the fly |
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Treat | 2003-01-27 16:09:14 | Doc fix for Create Domains |
Previous Message | Michael Meskes | 2003-01-27 15:09:00 | Re: ECPG, threading and pooling |