Re: Configurable location for extension .control files
От | Tom Lane |
---|---|
Тема | Re: Configurable location for extension .control files |
Дата | |
Msg-id | 3505.1370376443@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: Configurable location for extension .control files (Andres Freund <andres@2ndquadrant.com>) |
Ответы |
Re: Configurable location for extension .control files
Re: Configurable location for extension .control files |
Список | pgsql-hackers |
Andres Freund <andres@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
В списке pgsql-hackers по дате отправления: