Re: [HACKERS] header files for spi.h/trigger.h] - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] header files for spi.h/trigger.h]
Date
Msg-id 28671.931998877@sss.pgh.pa.us
Whole thread Raw
In response to Re: [HACKERS] header files for spi.h/trigger.h]  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] header files for spi.h/trigger.h]
List pgsql-hackers
Bruce Momjian <maillist@candle.pha.pa.us> writes:
>> Speaking of header files, I'm pretty sure that not enough header files
>> get installed in order to compile something using spi.h/trigger.h
>> outside the postgresql source tree.  This seems like a problem.
>> 
>> Shouldn't the normal install procedure install everything necessary to
>> use published postgresql header files?

> Good questions.  I am not touching spi.h because I realize they are used
> by client code.

But how much of the stuff that those files are including is really
needed to compile them?  It could be that the right answer is not to
install more headers but to get rid of some #includes in the headers
that are published...
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: RE: [HACKERS] Interesting behaviour !
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] header files for spi.h/trigger.h]