Re: RFC: Additional Directory for Extensions

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: RFC: Additional Directory for Extensions
Дата
Msg-id 5A9D764A-6448-4DCF-9691-769FC7FD0F62@justatheory.com
обсуждение исходный текст
Ответ на Re: RFC: Additional Directory for Extensions  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-hackers
On Nov 20, 2024, at 04:05, Peter Eisentraut <peter@eisentraut.org> wrote:

> The path is only consulted if the specified name does not contain a slash.  So if you do LOAD 'foo', the path is
consulted,but if you do LOAD '$libdir/foo', it is not.  The problem I'm describing is that most extensions use the
latterstyle, per current recommendation in the documentation. 

I see; some details here:

  https://www.postgresql.org/docs/current/xfunc-c.html#XFUNC-C-DYNLOAD

And I suppose the `directory` control file variable and `MODULEDIR` make variable make that necessary.

Maybe $libdir should be stripped out when installing extensions to work with this patch?

Best,

David




В списке pgsql-hackers по дате отправления: