Re: Should contrib modules install .h files?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
pgsql-hackers@postgresql.org, Andres Freund <andres@anarazel.de>
Date: 2018-07-04T21:00:56Z
Lists: pgsql-hackers
Andrew Gierth <andrew@tao11.riddles.org.uk> writes: > This installs to $(includedir_server)/$(MODULEDIR)/$MODULE/file.h > (e.g. include/server/extension/hstore/hstore.h for an actual example), > and errors if HEADERS_xxx is defined for anything that's not a module > listed in MODULES or MODULE_big. I've not studied this patch in any great detail, but the basic plan seems sane. However, don't we also need to teach the MSVC build system about this? regards, tom lane
Commits
-
Fix out-of-tree build for transform modules.
- f1ca5a654d5d 11.0 landed
- 60f6756f9225 12.0 landed
-
Provide for contrib and pgxs modules to install include files.
- df163230b92b 12.0 landed
- d06eebce5fa4 11.0 landed