Re: ecpg thread-safe descriptor - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: ecpg thread-safe descriptor
Date
Msg-id 47028C99.5080909@hagander.net
Whole thread Raw
In response to Re: ecpg thread-safe descriptor  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: ecpg thread-safe descriptor  (Michael Meskes <meskes@postgresql.org>)
List pgsql-patches
Tom Lane wrote:
> Michael Meskes <meskes@postgresql.org> writes:
>> Sorry, my bad. Seems I got this mixed up. Once we enabled testing for
>> ecpg we had some problems to be sorted out, but right now only the
>> DllMain thing seems to be a problem.
>
>> Since I do not know whether we really need DllMain could anyone please
>> test whether ecpg builds correctly without it?
>
> It looks to me like we should not need it, if we instead add code to
> initialize the mutexes properly on Windows (a la the way it's done
> in libpq).  I can prepare a patch, but I don't have the ability to
> test it on Windows --- will anyone be around who can, in an hour or so?

Should be doable. I can probably (but not certainly, so if someone else
is around that'd be nice) get close enough to remote a windows box to
test that a build passes, but remember that we can't really run the
regression tests on msvc right now :-(

//Magnus

pgsql-patches by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: ecpg thread-safe descriptor
Next
From: Tom Lane
Date:
Subject: Re: ecpg thread-safe descriptor