On Jul 20, 2015, at 1:40 PM, Jim Nasby <Jim....@BlueTreble.com> wrote:
>> You should declare such dependencies in your .control files. See the “requires” directive here:
>>
>>
http://www.postgresql.org/docs/current/static/extend-extensions.html
>
> That said; dependency handling is a known weakness of pgxnclient, and possibly META.json. It seems reasonable to have 2 extensions in one PGXN package that have a dependency, but until pgxn client understands deps I don't know that there's much point.
Er, I don’t know what the META.json could do here. When you download a distribution, you should build the whole thing. If there are multiple extensions with mutual dependencies, the Makefile should set up the appropriate build order dependencies, the .control files should declare them, and the test suite should load them all. I could see it might be useful to have metadata about mutual dependencies in the META.json, but don’t see how that’d have any affect on building, testing, or installation, none of which PGXN has anything to do with.
Yeah, hoping that improves.
Best,
David