Re: Win32 libpq and ecpg thread safety

From: Qingqing Zhou <zhouqq(at)cs(dot)toronto(dot)edu>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Win32 libpq and ecpg thread safety
Date: 2005-10-26 21:52:18
Message-ID: Pine.LNX.4.58.0510261747220.6059@eon.cs
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rick Ellis 2005-10-26 22:00:10 Re: Why database is corrupted after re-booting
Previous Message Tom Lane 2005-10-26 21:46:02 Re: Need help with INOUT mis-understanding