ECPG, threading and pooling

From: "Shridhar Daithankar<shridhar_daithankar(at)persistent(dot)co(dot)in>" <shridhar_daithankar(at)persistent(dot)co(dot)in>
To: pgsql-hackers(at)postgresql(dot)org
Subject: ECPG, threading and pooling
Date: 2003-01-23 09:10:33
Message-ID: 200301231440.33525.shridhar_daithankar@persistent.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Antonio Scotti 2003-01-23 09:42:31 On Commit Triggers
Previous Message David Kennedy 2003-01-23 08:28:18 postgres installation - best configuration?

Browse pgsql-patches by date

  From Date Subject
Next Message Michael Meskes 2003-01-23 15:10:09 Re: ECPG, threading and pooling
Previous Message Rod Taylor 2003-01-23 03:13:13 Re: SEQUENCEs and NO MAXVALUE NO MINVALUE