Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wh2eN-0000vy-25 for pgsql-bugs@arkaria.postgresql.org; Tue, 07 Jul 2026 10:03:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wh2dM-000Fxe-2I for pgsql-bugs@arkaria.postgresql.org; Tue, 07 Jul 2026 10:02:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wh2dM-000FxV-1F for pgsql-bugs@lists.postgresql.org; Tue, 07 Jul 2026 10:02:33 +0000 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wh2dL-000000000N7-1heT for pgsql-bugs@lists.postgresql.org; Tue, 07 Jul 2026 10:02:32 +0000 Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-381018b9375so4099921a91.0 for ; Tue, 07 Jul 2026 03:02:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783418550; x=1784023350; darn=lists.postgresql.org; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:content-transfer-encoding:mime-version:from:to:cc :subject:date:message-id:reply-to:content-type; bh=/RiGRwKb73/98XQZ8u+JgTaBlHyv4jrcrMkFvGRAijY=; b=g3fvbqdgOphAT7W0qGAcbhcLaSt25AVobqOF2a2GXY0dTIGs4DlNFgIX9QD2v6Lwv+ GDtpdVykaKlleVV75HWmbi99TIII6UpZ6ijCOPd+TZkes9IrRcKcybTtkHbCFQnMc4wm EzJmY5wj6+YJicIjoNl0U9TsI1yLMCng4a2g9VKrYkA/q2eMKdNj50hu4PsFM07pG2Ky DczlL5kji/b6uabioSzdAYtVySts4UBWRzL5D5rCVUFs3fCYRxu8KFJz8kdpCbKgFXj9 37TlmDJE4DW94+BlagEsVxpZNUWSs/AYpbGwGADqaiygMDX9QaqpoE1VKB9N90PTR34o eTzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783418550; x=1784023350; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-type:content-transfer-encoding:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=/RiGRwKb73/98XQZ8u+JgTaBlHyv4jrcrMkFvGRAijY=; b=B5W5seBBwuDrriz2OqX0DnTFS3yqwWdVdaxSwtCr8XfqNb0IL8CKjM3l7XY3kR8cxn 0b/3sn4X/b6wvwfYQAdQBzPsabSidzkE5D9vB/WHDpJCla4R/oJ3MNBvUpuC6Xhkfo+t KLRahEQwhPtwHvDm4NYn1QE3Vlv8IXxTKe+gdBZla/JH+uf1jeLAq6weBBV+Ei+c+smJ SFR7059fpdEDETL9OMdAiJ2DiK9U5Uy4EekbY0kCoihx88Yx6oHY/Szyi++jhbIg6aCh Ye8PqDzwbFlv/K6uVXrgXxe21Y8I4SXFMb+3NBlLZvnMnEhq6s+o5j+n63GSKgW2lfG6 +/yA== X-Forwarded-Encrypted: i=1; AHgh+Rp1QYPnKKhUzbH42/aQSZ7mPbgzU0dakJ5/Hzyep7JbCKWMLpF8IQAYVh55vwhXE+thBSycivdSSlnU@lists.postgresql.org X-Gm-Message-State: AOJu0YxNa9zhdQqLa82Gr0gzjaJDHkagGgbp2+Vj34XB2w2cxzMUE0iv PqALHWHTdVqIASuD1hEFOEc62RP66Wiqyh1gThbiQQYraBbFXlayIM5/+cyMMg== X-Gm-Gg: AfdE7cnNOQvyp47hAQUxnC62UpizQu30fN1+rkQSZ1e3bnhmgzz/rKjybXhnfTBckz4 +dNaAlwfAnI2P54r2PC4Xuo+KiBlWH5Yj6iTQOf4e3DiJCD2OkxsZ8RjNJ/IhBrhkSI8W0A8kT4 wTQs5nGaaSULr6KUY/WKk7CatOIL+9PaeyL0aC4hEf3mL5FDZZ70PLVhZccR+DxQzmrFaAm/70Q mwnQqLXAqAA4mBPNz1djo9sMsLYyWGea6xGNy6T5+9EtWFztSqt+ij7p6bfAMvcDTH8DdX7Fa9B bvzk28IeirzttmcB8KhuDiJKcAVqp2csYRPhnWdAsYETT3XGdIX5huc7OXBXXGB4S6ws4FBP5/C AsXTCmI+y9xKcebgWo0PzR3DGFX2BdVuzC48M1VMsVMfheeJPgeZC3MxlUlpH9RL3NezgFnhgjL +c+eOi+Cs5Pp6R12i4IvdtLQISKLMupTQG9/M= X-Received: by 2002:a17:90a:c2c8:b0:36b:bec8:94c5 with SMTP id 98e67ed59e1d1-38756dd9ca5mr4317928a91.10.1783418550134; Tue, 07 Jul 2026 03:02:30 -0700 (PDT) Received: from localhost ([2804:14d:32a7:4273:fd62:8dce:5df3:ad5b]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-31174a9e2f2sm6947246eec.25.2026.07.07.03.02.28 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 07 Jul 2026 03:02:29 -0700 (PDT) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Tue, 07 Jul 2026 07:02:26 -0300 Message-Id: Cc: , , "Peter Eisentraut" Subject: Re: BUG #19506: LOAD '$libdir/...' inside extension scripts ignores dynamic_library_path with extension_control_path From: "Matheus Alcantara" To: "Gabriele Bartolini" X-Mailer: aerc 0.21.0 References: <19506-9478f3012ecc2328@postgresql.org> <9ef850b9-d127-44db-9a6c-4db64436b056@gmail.com> In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 min= or > 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.=20 Also I think that we need more opinions on this from other hackers. [1] https://www.postgresql.org/message-id/9ef850b9-d127-44db-9a6c-4db64436b= 056%40gmail.com -- Matheus Alcantara EDB: https://www.enterprisedb.com