Andres Freund <and...@anarazel.de> writes: > On 2018-08-02 19:13:05 +0100, Andrew Gierth wrote: >> And none of the plpython transforms can even parse their makefiles with >> USE_PGXS, let alone build, because they have an "include" directive >> pointing into src/pl/plpython.
> FWIW, I'd be perfectly on board with just burying this policy. Designating > one contrib module (or something in src/test/examples or such) as a PGXS > example, and always building it with pgxs seems like it'd do a much > better job than the current policy. No, I think that'd be pretty wrongheaded. One of the big reasons for contrib to exist is to serve as a testbed proving that our extension features actually work. What you suggest would reduce the scope of that testing, which seems like the wrong direction to be going in. It's particularly bad for these cases, since what they demonstrate is that it's impossible to build transform modules for plperl or plpython out-of-tree at the moment. That doesn't seem to me to be something we should just ignore; it goes against not only our larger commitment to extensibility, but also the entire point of the transforms feature. regards, tom lane