ECPG, threading and pooling - Mailing list pgsql-hackers

From Shridhar Daithankar
Subject ECPG, threading and pooling
Date
Msg-id 200301231440.33525.shridhar_daithankar@persistent.co.in
Whole thread Raw
Responses Re: ECPG, threading and pooling  (Michael Meskes <meskes@postgresql.org>)
List pgsql-hackers
Hi all,

I would like to use ECPG as it is relatively easy to code. However my 
application is multithreaded and also uses connecion pools.

I would like to know if ECPG is thread safe and I can use an arbitrary PGconn* 
object pulled from a connection pool.

Do I need to use connection name? I mean how do I store connection name in an 
array or so?

Otherwise I would have to fiddle with libpq which is bit more difficult than 
ECPG.

TIA 
Shridhar


pgsql-hackers by date:

Previous
From: Sean Chittenden
Date:
Subject: Re: Options for growth
Next
From: Darko Prenosil
Date:
Subject: Re: Windows Build System was: Win32 port patches