Re: ecpg compile error in regression tests

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Michael Meskes <meskes(at)postgresql(dot)org>, PGSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ecpg compile error in regression tests
Date: 2007-06-12 08:03:40
Message-ID: 20070612080340.GA2819@svr2.hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jun 12, 2007 at 09:57:17AM +0200, Michael Meskes wrote:
> On Mon, Jun 11, 2007 at 07:03:05PM +0200, Magnus Hagander wrote:
> > I get the following error when trying to build the sql/parser.pgc test:
> > c:\prog\pgbin\pgsql\bin\ecpg --regression -o parser.c parser.pgc
> > parser.pgc:26: ERROR: syntax error at or near "NULLS"
> >
> > Any pointers for where to look? (Kinda seems it could be the ecpg binary
> > not being up-to-date, but I did a make clean and rebuild of it)
>
> I get the same error IF I try using an 8.2 parser, be it in the backend
> or in ecpg. With 8.3 however it works nicely.
>
> Could it be that you have some older versions around? Yes, you did a
> rebuild, but still.

I'll try to blow away my tree and do a fresh cvs checkout later. I'll go
ahead with what I for now and get it in thoguh, don't want to throw my
changes out. And since the problem is not actually with the regression test
*engine*, it's with the tests themselves.. :-)

//Magnus

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2007-06-12 08:06:58 Re: Selecting a constant question
Previous Message Michael Meskes 2007-06-12 07:57:17 Re: ecpg compile error in regression tests