Re: ecpg DllMain fix

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Michael Meskes <meskes(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: ecpg DllMain fix
Date: 2007-10-03 08:58:18
Message-ID: 20071003085818.GB30174@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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.

Michael

--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Michael Meskes 2007-10-03 08:59:31 Re: ecpg thread-safe descriptor
Previous Message ITAGAKI Takahiro 2007-10-03 08:28:28 Re: initdb of regression test failed.