Re: ECPG, threading and pooling - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: ECPG, threading and pooling
Date
Msg-id 20030127150900.GB7722@feivel.fam-meskes.de
Whole thread Raw
In response to Re: ECPG, threading and pooling  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: ECPG, threading and pooling  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Mon, Jan 27, 2003 at 09:30:50AM -0500, Tom Lane wrote:
> Michael Meskes <meskes@postgresql.org> writes:
> > - Is it neccessary to patch c.h for ecpg?
> 
> If you commit that part, it will be reverted forthwith (especially the
> hardwired #define HAVE_PTHREAD_H ;-)).
> 
> 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.

Michael
-- 
Michael Meskes
Email: Michael@Fam-Meskes.De
ICQ: 179140304
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ECPG, threading and pooling
Next
From: Antti Haapala
Date:
Subject: Re: Switching connection on the fly