Re: Should contrib modules install .h files?

Поиск
Список
Период
Сортировка
Искать
От
Andrew Gierth
Тема
Re: Should contrib modules install .h files?
Дата
Msg-id
87600ubvb7.fsf@news-spur.riddles.org.uk
Ответ на
Список
Дерево обсуждения
Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andres Freund <andres@anarazel.de>
Re: Should contrib modules install .h files? Craig Ringer <craig@2ndquadrant.com>
Re: Should contrib modules install .h files? Pavel Stehule <pavel.stehule@gmail.com>
Re: Should contrib modules install .h files? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should contrib modules install .h files? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Stephen Frost <sfrost@snowman.net>
Re: Should contrib modules install .h files? Michael Paquier <michael@paquier.xyz>
Re: Should contrib modules install .h files? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should contrib modules install .h files? Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Should contrib modules install .h files? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Should contrib modules install .h files? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Should contrib modules install .h files? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andres Freund <andres@anarazel.de>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andres Freund <andres@anarazel.de>
Re: Should contrib modules install .h files? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should contrib modules install .h files? Michael Paquier <michael@paquier.xyz>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Michael Paquier <michael@paquier.xyz>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andres Freund <andres@anarazel.de>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Should contrib modules install .h files? Peter Geoghegan <pg@bowt.ie>
Re: Should contrib modules install .h files? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should contrib modules install .h files? Andres Freund <andres@anarazel.de>
Re: Should contrib modules install .h files? Robert Haas <robertmhaas@gmail.com>
Re: Should contrib modules install .h files? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should contrib modules install .h files? Andres Freund <andres@anarazel.de>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andres Freund <andres@anarazel.de>
Re: Should contrib modules install .h files? Robert Haas <robertmhaas@gmail.com>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andres Freund <andres@anarazel.de>
Re: Should contrib modules install .h files? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Michael Paquier <michael@paquier.xyz>
Re: Should contrib modules install .h files? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Tom Lane <tgl@sss.pgh.pa.us>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andres Freund <andres@anarazel.de>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Should contrib modules install .h files? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Michael Paquier <michael@paquier.xyz>
Re: Should contrib modules install .h files? Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: Should contrib modules install .h files? Andres Freund <andres@anarazel.de>
Re: Should contrib modules install .h files? Stephen Frost <sfrost@snowman.net>
>>>>> "Tom" == Tom Lane  writes:

 >> If your extension is relying on pg11+, or you have checked the pg
 >> version when constructing the makefile, you can just do:
 >> PG_CPPFLAGS += -I$(includedir_server)/extension/hstore
 >> and #include "hstore.h" will work.

 Tom> I remain of the opinion that it'd be smarter to do

 Tom> PG_CPPFLAGS += -I$(includedir_server)/extension

 Tom> then

 Tom> #include "hstore/hstore.h"

 Tom> This way requires fewer -I options and is far more robust against
 Tom> header name conflicts.

Sure, it works for the simple cases like hstore, but how does it handle
the case of a pgxs extension that installs more than one include file,
one of which includes another?

-- 
Andrew (irc:RhodiumToad)

В списке pgsql-hackers по дате отправления
От: Bruce Momjian
Дата:
От: Andres Freund
Дата:
FAQ