Re: BUG #18920: LOAD '$libdir/plugins' no longer works in 18beta1
Rahila Syed <rahilasyed90@gmail.com>
From: Rahila Syed <rahilasyed90@gmail.com>
To: Matheus Alcantara <matheusssilv97@gmail.com>
Cc: evsi@amazon.com, pgsql-bugs@lists.postgresql.org
Date: 2025-06-02T19:56:34Z
Lists: pgsql-bugs
Hi, Thank you both for the patch and the explanation regarding the fix. > Another approach would be to change the > signature of expand_dynamic_library_name() to receive a boolean and only > srip the $libdir if it's true, but I think that the expand function > should not handle the strip logic, it should only expand the dynamic > library path and nothing else. > The reasoning makes sense to me. > I'm also attaching a second patch that has a TAP test case that > reproduce this issue, it has some hacks to move dynamic library files > around to exercice the problem so I'm not sure if it could be good to > also include these tests on the final patch. > The TAP test is useful in testing various paths of extension files. It will be cleaner if the dummy_index_am.so is deleted at the end of the tests from the $libdir. Currently, the tests seem to be failing as follows for windows: [19:07:13.107] # Failed test 'create extension from custom extension control path'[19:07:13.107] # at C:/cirrus/src/test/modules/test_extensions/t/002_strip_modulepathname.pl line 102.[19:07:13.107] # got: '2'[19:07:13.107] # expected: '0'[19:07:13.107] # Looks like you failed 1 test of 7.[19:07:13.107] [19:07:13.107] (test program exited with status code 1) Details here: Windows - Server 2019, VS 2019 - Meson & ninja - Cirrus CI <https://cirrus-ci.com/task/5241991606304768> Thank you, Rahila Syed
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