Re: Possible bug in ECPGlib thread-safety (Postgres

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Possible bug in ECPGlib thread-safety (Postgres
Дата
Msg-id 200312160128.hBG1Sns20204@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Possible bug in ECPGlib thread-safety (Postgres  (Philip Yarra <philip@utiba.com>)
Ответы Re: Possible bug in ECPGlib thread-safety (Postgres  (Philip Yarra <philip@utiba.com>)
Список pgsql-interfaces
Philip Yarra wrote:
> On Tue, 16 Dec 2003 12:08 pm, Bruce Momjian wrote:
> > I have updated the 7.4.X does and CVS head docs to mention that ecpg SET
> > CONNECTION is not thread-aware, and I have added this to the ecpg TODO:
> > 
> >         o Make SET CONNECTION thread-aware
> 
> One thing that concerns me: I doubt this is supported in other database 
> systems... people who relied on this feature in ECPG would likely encounter 
> threading bugs if they port their code to other DBs. And threading bugs can 
> be nasty to find. Does anyone know how other DBs handle this issue?
> 
> I thinks it's a worthy feature, but perhaps the pre-compiler should warn 
> people that they are relying on non-standard behaviour?

Maybe we could just document its thread-safety as non-standard.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Possible bug in ECPGlib thread-safety (Postgres
Следующее
От: Philip Yarra
Дата:
Сообщение: Re: Possible bug in ECPGlib thread-safety (Postgres