Re: Win32 libpq and ecpg thread safety - Mailing list pgsql-general

From Qingqing Zhou
Subject Re: Win32 libpq and ecpg thread safety
Date
Msg-id Pine.LNX.4.58.0510261747220.6059@eon.cs
Whole thread Raw
In response to Re: Win32 libpq and ecpg thread safety  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Win32 libpq and ecpg thread safety  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-general


On Wed, 26 Oct 2005, Bruce Momjian wrote:
>
> If you are asking about Win32-specific threading, there is no
> documentation about it because it works just like Unix threading.  At
> least, that is what I am told.
>

So both libpq and ecpg are thread-safe in Win32? I look into the code,
seems at least ecpg is not, and there is some possible improvements of
libpq (esp. PTHREAD_MUTEX_INITIALIZER).

Regards,
Qingqing

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Need help with INOUT mis-understanding
Next
From: Bob Pawley
Date:
Subject: Re: Error Message