Hello,

At Wed, 24 Jun 2026 14:19:33 -0700, Zsolt Parragi <[email protected]> 
wrote in 
> Security seems to be an interesting question for this.
> 
> The current patch simply takes a wildcard, and evaluates it every time
> it is needed. Is that the correct approach? The advantage is that when
> a new directory matching the pattern appears, it is automatically
> detected... but that's also the disadvantage.

I understand the motivation, but I'm also a bit worried about allowing
glob patterns in paths searched for extension files.

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.

Regards,

-- 
Kyotaro Horiguchi
NTT Open Source Software Center


Reply via email to