Re: Include files for SPI are not installed

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Include files for SPI are not installed
Date: 2001-02-06 19:12:06
Message-ID: 3A804C86.C4B550BC@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mathieu Dube 2001-02-06 19:15:22 Re: using the same connection?
Previous Message Lamar Owen 2001-02-06 19:09:06 Re: Include files for SPI are not installed