Re: ECPG threads test - Mailing list pgsql-hackers

From Michael Meskes
Subject Re: ECPG threads test
Date
Msg-id 20070329120333.GB15578@feivel.credativ.de
Whole thread Raw
In response to ECPG threads test  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Wed, Mar 28, 2007 at 04:56:28PM +0200, Magnus Hagander wrote:
> >From what I can see, the ecpg thread tests (src/interfaces/ecpg/threads)
> don't ever run. They rely on ENABLE_THREAD_SAFETY to be set, but even when
> I build with --enable-thread-safety, it's not set. This is because ecpg
> does not pull in pg_config.h, and also does not specify it on the
> commandline.

It used to include pg_config.h, but we removed it since it was too much
and instead created a file named ecpg_config.h. However, we missed
ENABLE_THREAD_SAFETY there. I just committed a fix.

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@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-hackers by date:

Previous
From: "Florian G. Pflug"
Date:
Subject: Re: CREATE INDEX and HOT - revised design
Next
From: Michael Meskes
Date:
Subject: Re: ECPG regression tests expected files