Re: Datum should be defined outside postgres.h

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Datum should be defined outside postgres.h
Date: 2007-10-25 15:07:35
Message-ID: 4720B137.5070700@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut wrote:
> Am Donnerstag, 25. Oktober 2007 schrieb Zdenek Kotala:
>> I fixed it for zic, but problem with ecpg is that it includes
>> nodes/primnodes.h and it requires Datum type definition which is defined
>> in postgres.h. :(
>
> I don't find an inclusion of primnodes.h in ecpg. Which file are you looking
> at?
>

It is indirectly included in parser.c from parser/gramparse.h. Now I
probably find a solution. I created fake gramparse.h and parser.h into
ecpg directory (same way as parse.h is faked). It looks fine. Now I'm
testing it.

Zdenek

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-10-25 15:10:17 Re: text search and "filenames"
Previous Message Martijn van Oosterhout 2007-10-25 15:07:15 Re: PostGreSQL and zlib