Re: Include files for SPI are not installed - Mailing list pgsql-hackers

From Lamar Owen
Subject Re: Include files for SPI are not installed
Date
Msg-id 3A804C86.C4B550BC@wgcr.org
Whole thread Raw
In response to Re: Include files for SPI are not installed  (Karel Zak <zakkr@zf.jcu.cz>)
Responses Re: Include files for SPI are not installed  (Karel Zak <zakkr@zf.jcu.cz>)
Re: Include files for SPI are not installed  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Karel Zak wrote:
> On Tue, 6 Feb 2001, Oliver Elphick wrote:
> > Certain include files are installed by src/include/Makefile and by
> > interfaces/libpq++/Makefile.  However, they in turn include others that
> > are not installed, thus obviating the usefulness of the ones that are.
>  In your module you can use arbitrary routines from PG not only SPI,
> for example you trigger needs work with some datetypes and for this
> needs include anything from include/utils/ ... It expect install *all*
> header files.  Not is better download PG sources and use -I option for
> your gcc?

No.  Full tree takes at minimum 36MB -- even pulling the _entire_
src/include tree over is only 2MB.
>  I expect header files on /usr/include/pgsql for client programming not
> for SPI.

Why?  I know of several people doing SPI work with no source tree
installed. 
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11


pgsql-hackers by date:

Previous
From: Mathieu Dube
Date:
Subject: Re: using the same connection?
Next
From: Karel Zak
Date:
Subject: Re: Include files for SPI are not installed