Re: ECPG threads test

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ECPG threads test
Date: 2007-03-29 12:03:33
Message-ID: 20070329120333.GB15578@feivel.credativ.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2007-03-29 12:04:48 Re: ECPG regression tests expected files
Previous Message Florian G. Pflug 2007-03-29 11:44:58 Re: CREATE INDEX and HOT - revised design