Re: BUG #19506: LOAD '$libdir/...' inside extension scripts ignores dynamic_library_path with extension_control_path - Mailing list pgsql-bugs

From Matheus Alcantara
Subject Re: BUG #19506: LOAD '$libdir/...' inside extension scripts ignores dynamic_library_path with extension_control_path
Date
Msg-id DJS941XZ7ZOW.22GRCYKPAJA0L@gmail.com
Whole thread
In response to Re: BUG #19506: LOAD '$libdir/...' inside extension scripts ignores dynamic_library_path with extension_control_path  (Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>)
List pgsql-bugs
On Mon Jul 6, 2026 at 10:37 PM -03, Gabriele Bartolini wrote:
> Hi Matheus, do you think we can apply this patch to the next Postgres minor
> release?
>

Hi Gabriele, did you saw my reply on [1]?

Although we have this strip logic when reading module_pathname I'm not
sure if we should replicate this for the LOAD command.

I think that this should be fixed on postgis update scripts instead of
Postgres since the $libdir on module_pathname and LOAD commands is not
necessary anymore after 18 release.

Also I think that we need more opinions on this from other hackers.

[1] https://www.postgresql.org/message-id/9ef850b9-d127-44db-9a6c-4db64436b056%40gmail.com

--
Matheus Alcantara
EDB: https://www.enterprisedb.com



pgsql-bugs by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: BUG #19536: UPDATE RETURNING OLD value is stale after concurrent update when table has a BEFORE UPDATE trigger
Next
From: David Rowley
Date:
Subject: Re: BUG #19533: Wrong results from WindowAgg run-condition pushdown on count() with EXCLUDE CURRENT ROW