Re: ecpg DllMain fix - Mailing list pgsql-patches

From Magnus Hagander
Subject Re: ecpg DllMain fix
Date
Msg-id 20071003091327.GD22051@svr2.hagander.net
Whole thread Raw
In response to Re: ecpg DllMain fix  (Michael Meskes <meskes@postgresql.org>)
Responses Re: ecpg DllMain fix
List pgsql-patches
On Wed, Oct 03, 2007 at 10:58:18AM +0200, Michael Meskes wrote:
> On Wed, Oct 03, 2007 at 11:54:44AM +0900, ITAGAKI Takahiro wrote:
> > Here is a patch to remove DllMain from libecpg on Win32 build.
> > I brought the initialization routine from libpq and implemented
> > pthread_once() using a lock that serializes all pthread_once calls.
> > I don't have msvc build environment, but I hope it will fix the
> > build failure on it.
>
> We will see. Since it doesn't break my linux system I committed the
> patch. If anyone notices a problem please tell me.

Heh, I was about to review that. I'll try to get to it right after lunch.

//Magnus

pgsql-patches by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ecpg thread-safe descriptor
Next
From: Heikki Linnakangas
Date:
Subject: Doc update: ALTER SEQUENCE name RENAME TO can be rolled back