Re: [HACKERS] SPI Headers -- RPM distribution

Поиск
Список
Период
Сортировка
От wieck@debis.com (Jan Wieck)
Тема Re: [HACKERS] SPI Headers -- RPM distribution
Дата
Msg-id m1208m7-0003kHC@orion.SAPserv.Hamburg.dsh.de
обсуждение исходный текст
Ответ на SPI Headers -- RPM distribution  (Lamar Owen <lamar.owen@wgcr.org>)
Ответы Re: [HACKERS] SPI Headers -- RPM distribution  (Brook Milligan <brook@biology.nmsu.edu>)
Список 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 по дате отправления:

Предыдущее
От: Lamar Owen
Дата:
Сообщение: SPI Headers -- RPM distribution
Следующее
От: Goran Thyni
Дата:
Сообщение: Re: [HACKERS] Re: QUESTION: Replication