Re: glob support in extension_control_path/dynamic_library_path? - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: glob support in extension_control_path/dynamic_library_path?
Date
Msg-id 7DE81D76-250E-4E61-818F-A47201EFDA87@justatheory.com
Whole thread
List pgsql-hackers
On Jun 25, 2026, at 01:15, Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote:

> Just a thought, but another approach would be to allow symlinks to
> extension installation directories either in the existing extension
> file search directories or in a separate directory added to the search
> path. That would likely require PostgreSQL to recognize a somewhat
> different extension file layout than it currently assumes, though.

I don’t follow the argument about symlinks, but suspect they wouldn’t work in environments like CNPG with read-only
filesystems. 

But reorganizing where files live was exactly what I proposed in the Packaging & Lookup RFC[0]. It’s a *lot* more
involvedof a change, though, and has all sorts of compatibility challenges to work out. 

 [0]: https://justatheory.com/2024/11/rfc-extension-packaging-lookup/#solution

Best,

David


Attachment

pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: glob support in extension_control_path/dynamic_library_path?
Next
From: Bertrand Drouvot
Date:
Subject: Re: In core use of RegisterXactCallback() and RegisterSubXactCallback()