From: | "David E(dot) Wheeler" <david(at)justatheory(dot)com> |
---|---|
To: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
Cc: | Craig Ringer <craig(dot)ringer(at)enterprisedb(dot)com>, Gabriele Bartolini <gabriele(dot)bartolini(at)enterprisedb(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: RFC: Additional Directory for Extensions |
Date: | 2024-11-20 18:04:17 |
Message-ID: | 5A9D764A-6448-4DCF-9691-769FC7FD0F62@justatheory.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Nov 20, 2024, at 04:05, Peter Eisentraut <peter(at)eisentraut(dot)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 latter style, 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
From | Date | Subject | |
---|---|---|---|
Next Message | Guillaume Lelarge | 2024-11-20 19:30:08 | Re: Proposals for EXPLAIN: rename ANALYZE to EXECUTE and extend VERBOSE |
Previous Message | Tom Lane | 2024-11-20 17:43:16 | Re: EphemeralNamedRelation and materialized view |