pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matheus Alcantara <matheusssilv97@gmail.com>
To: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Cc: gabriele.bartolini@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Cc: Peter Eisentraut <peter@eisentraut.org>
Subject: Re: BUG #19506: LOAD '$libdir/...' inside extension scripts ignores dynamic_library_path with extension_control_path
Date: Tue, 07 Jul 2026 07:02:26 -0300
Message-ID: <DJS941XZ7ZOW.22GRCYKPAJA0L@gmail.com> (raw)
In-Reply-To: <CA+VUV5oeJEMb=hrKLS9bhUN0VEv3zCHHUTAbOvDVbim0brwA2g@mail.gmail.com>
References: <19506-9478f3012ecc2328@postgresql.org>
	<9ef850b9-d127-44db-9a6c-4db64436b056@gmail.com>
	<CA+VUV5r0Yu11PZrBa6yE4djSii3AHta7T57rza40fxyq6p8AOA@mail.gmail.com>
	<CA+VUV5oeJEMb=hrKLS9bhUN0VEv3zCHHUTAbOvDVbim0brwA2g@mail.gmail.com>

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






view thread (8+ messages)

Message-ID: <DJS941XZ7ZOW.22GRCYKPAJA0L@gmail.com>
Permalink:  ../DJS941XZ7ZOW.22GRCYKPAJA0L@gmail.com/
Also on:    postgresql.org/message-id/DJS941XZ7ZOW.22GRCYKPAJA0L@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: matheusssilv97@gmail.com, gabriele.bartolini@enterprisedb.com, gabriele.bartolini@gmail.com, pgsql-bugs@lists.postgresql.org, peter@eisentraut.org
  Subject: Re: BUG #19506: LOAD '$libdir/...' inside extension scripts ignores dynamic_library_path with extension_control_path
  In-Reply-To: <DJS941XZ7ZOW.22GRCYKPAJA0L@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox