Re: [HACKERS] Missing types in C header files

2002-06-10 Thread Tom Lane
Tony Griffiths <[EMAIL PROTECTED]> writes: > I've looked in fmgr.h and there is no definition of this type there - it > uses the type, but does not define it. Eh? typedef Datum (*PGFunction) (FunctionCallInfo fcinfo); Looks like a definition to me ... regards, t

Re: [HACKERS] Missing types in C header files

2002-06-10 Thread Tony Griffiths(RA)
I've found the mistake - as usual it's down to me! I didn't realise that I had to include postgres.h before including geo_decls.h  All now compiles ok. Tony Tony Griffiths wrote: [EMAIL PROTECTED]"> I've looked in fmgr.h and there is no definition of this type there - ituses the type, but do

Re: [HACKERS] Missing types in C header files

2002-06-10 Thread Tony Griffiths
I've looked in fmgr.h and there is no definition of this type there - it uses the type, but does not define it. Peter Eisentraut wrote: > > Tony Griffiths writes: > > > I've done a search of all the header files in my installation (and also > > all the source files that I compiled), and cannot

Re: [HACKERS] Missing types in C header files

2002-06-07 Thread Thomas Lockhart
Tony Griffiths wrote: > > Hi, > I'm trying to start to program with the PostgreSQL's geometric primitive > types, and have started to write some code using them (PostgreSQL > version 7.1.3, installed from source). However when I > include the file utils/geo_decls.h I get an error starting that th

Re: [HACKERS] Missing types in C header files

2002-06-07 Thread Peter Eisentraut
Tony Griffiths writes: > I've done a search of all the header files in my installation (and also > all the source files that I compiled), and cannot find the definition of > the PGFunction type. Does anyone have any idea of where I can find this > definition, or of why it might be missing. fmgr.