Re: BUG #18920: LOAD '$libdir/plugins' no longer works in 18beta1
Nathan Bossart <nathandbossart@gmail.com>
From: Nathan Bossart <nathandbossart@gmail.com>
To: Matheus Alcantara <matheusssilv97@gmail.com>
Cc: evsi@amazon.com, pgsql-bugs@lists.postgresql.org, peter@eisentraut.org
Date: 2025-06-02T17:16:59Z
Lists: pgsql-bugs
On Mon, Jun 02, 2025 at 11:05:12AM -0300, Matheus Alcantara wrote: > The problem is how we are sripping the $libdir from module_pathname. I > think that we should still strip the $libdir from module_pathname when > expanding from a .control file, but we should not expand via LOAD > command, since the user may explicitly specify the $libdir prefix as it > is the case here. > > Having this logic on expand_dynamic_library_name() force us to srip the > $libdir for all scenarios, so I think that a better place to have this > is on load_external_function() that is called when executing a SQL > script from an extension. Thanks for the patch. This seems generally reasonable to me. -- nathan
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Don't strip $libdir from LOAD command
- f777d773878d 18.0 landed