Andres Freund <and...@2ndquadrant.com> writes: > The only argument with a good bit of merit I can see is that it could > lead to unexpected extensions being loaded if e.g. hstore isn't > installed in the normal extension directory but another extension with > the same name somewhere else.
And just think about the fun you could have with inconsistent files named hstore--1.0--1.1.sql in different directories. The extension feature is really really not designed to be able to search a path of directories. It presumably wouldn't be terribly hard for Oliver to patch the sources to look in something other than SHAREDIR/extension/, but I'm not sure I see the point of inventing a platform-specific name for that directory; seems like it would mostly just confuse users coming from other platforms. Instead, what about not treating that directory as part of the base package in the first place? If you've got the concept of directories that multiple packages can install into, just make this be one of those. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers