Re: BUG #19506: LOAD '$libdir/...' inside extension scripts ignores dynamic_library_path with extension_control_path

From: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
To: Gabriele Bartolini <gabriele(dot)bartolini(at)enterprisedb(dot)com>
Cc: gabriele(dot)bartolini(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org, Peter Eisentraut <peter(at)eisentraut(dot)org>
Subject: Re: BUG #19506: LOAD '$libdir/...' inside extension scripts ignores dynamic_library_path with extension_control_path
Date: 2026-06-05 04:39:55
Message-ID: CAJTYsWW2Etzyh+pdNvLD0wTdmOmNo7nx_DseX+ymuw1-MkFHJw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

On Fri, 5 Jun 2026 at 10:04, Gabriele Bartolini <
gabriele(dot)bartolini(at)enterprisedb(dot)com> wrote:

> Hi Ayush,
>
> I was about to draft an email to hackers about this. I had already done a
> patch: https://github.com/gbartolini/postgres/pull/1
>
> Thanks for your reply. I will verify yours later.
>
> Cheers,
> Gabriele
>

Your patch looks good to me, we can go ahead with that.

I dont think this needs a dedicated tap test file though,
you can use the existing 001_extension_control_path.pl

Happy to review, once you post it.

Regards,
Ayush

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Fujii Masao 2026-06-05 04:45:06 Re: BUG #19511: contrib/dblink: NULL dereference in dblink_get_notify() when called without a prior connection
Previous Message Gabriele Bartolini 2026-06-05 04:34:27 Re: BUG #19506: LOAD '$libdir/...' inside extension scripts ignores dynamic_library_path with extension_control_path