Re: [HACKERS] SPI Headers -- RPM distribution - Mailing list pgsql-hackers

From wieck@debis.com (Jan Wieck)
Subject Re: [HACKERS] SPI Headers -- RPM distribution
Date
Msg-id m1208m7-0003kHC@orion.SAPserv.Hamburg.dsh.de
Whole thread Raw
In response to SPI Headers -- RPM distribution  (Lamar Owen <lamar.owen@wgcr.org>)
Responses Re: [HACKERS] SPI Headers -- RPM distribution
List pgsql-hackers
>
> Ok, thanks to Oliver and others, I think I may have a handle on which
> header files to include in the postgresql-devel RPM for the ability to
> compile backend modules.
>
> So, I'm going to put these headers under /usr/include/pgsql/backend.
>
> Any objections or comments?

    I'm  not  totally  sure, but IIRC the dependency list was the
    one of spi.c, no?

    If so, it's IMHO wrong. A user written  module  doesn't  need
    anything,  spi.c  needs  (especially  the  parts  included by
    spi_priv.h). SPI hides many internals by making the  prepared
    plan an opaque object (void *).


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#========================================= wieck@debis.com (Jan Wieck) #

pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: SPI Headers -- RPM distribution
Next
From: Goran Thyni
Date:
Subject: Re: [HACKERS] Re: QUESTION: Replication