Re: Satisfy extension dependency by one of multiple extensions
Josh Berkus <josh@agliodbs.com>
From: Joshua Berkus <josh@agliodbs.com>
To: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Cc: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>, PostgreSQL-development Hackers <pgsql-hackers@postgresql.org>, Yeb Havinga <yebhavinga@gmail.com>
Date: 2011-09-24T21:01:00Z
Lists: pgsql-hackers
All, > >> We might want to have a system where an extension can declare that > >> it > >> "provides" capabilites, and then have another extension "require" > >> those > >> capabilities. That would be a neater solution to the case that > >> there are > >> multiple extensions that all provide the same capability. > > +1 As a warning, this is the sort of thing which DEB and RPM have spent years implementing ... and still have problems with. Not that we shouldn't do it, but we should be prepared for the amount of troubleshooting involved, which will be considerable. --Josh Berkus