Re: ECPG, threading and pooling

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, 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:09:00
Message-ID: 20030127150900.GB7722@feivel.fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Mon, Jan 27, 2003 at 09:30:50AM -0500, Tom Lane wrote:
> Michael Meskes <meskes(at)postgresql(dot)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(at)Fam-Meskes(dot)De
ICQ: 179140304
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Antti Haapala 2003-01-27 15:20:08 Re: Switching connection on the fly
Previous Message Michael Meskes 2003-01-27 15:06:36 Re: ECPG, threading and pooling

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2003-01-27 15:26:53 Re: ECPG, threading and pooling
Previous Message Michael Meskes 2003-01-27 15:06:36 Re: ECPG, threading and pooling