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