ECPG, threading and pooling

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема ECPG, threading and pooling
Дата
Msg-id 200301231440.33525.shridhar_daithankar@persistent.co.in
обсуждение исходный текст
Ответы Re: ECPG, threading and pooling  (Michael Meskes <meskes@postgresql.org>)
Список 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 по дате отправления:

Предыдущее
От: Sean Chittenden
Дата:
Сообщение: Re: Options for growth
Следующее
От: Darko Prenosil
Дата:
Сообщение: Re: Windows Build System was: Win32 port patches