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.94.2) (envelope-from ) id 1uMKVc-008dZG-4j for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Jun 2025 05:48:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1uMKVa-00H1hi-Hq for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Jun 2025 05:48:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uMKVZ-00H1ha-O8 for pgsql-bugs@lists.postgresql.org; Tue, 03 Jun 2025 05:48:22 +0000 Received: from fout-b6-smtp.messagingengine.com ([202.12.124.149]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uMKVV-000AH4-1d for pgsql-bugs@lists.postgresql.org; Tue, 03 Jun 2025 05:48:21 +0000 Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 8B8D5114012D; Tue, 3 Jun 2025 01:48:15 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-01.internal (MEProxy); Tue, 03 Jun 2025 01:48:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1748929695; x=1749016095; bh=LrFizT3Jd4 r4IauRCPZ7nu9N2evlwHZ0XRydCMqVHpk=; b=uRE2wgLNGv6KMwGj+UbQYcmua+ 6Nje0AWr1SzyWdBegEqGaBsoEij0kCrP6sRYNMDFCU0lsobThRbb/OokisuElfMI tsAhfS/WQjqgzdIvZt2el+7HawjJtNhwKG5SaLnoz6UyHGGZkbl/hv/WVwPt+F56 fRVDtrkQw4XpgmESnvUPo2Dxz4pZAkBCA0Pdg9F9NYci1G3prhmnQQuG9wNWEp7h Xv9X5Zkp1a2Ug75UnouU9z6pFYKHIRovI3zqj9dVI23hwT39JqE064uolyPKhdgS +FN7GqpE00Ul/vEJoLa+FGGOeu+B0jKKQDjKDEsZpyvL3Q2oMgiqE8YRsHxA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1748929695; x=1749016095; bh=LrFizT3Jd4r4IauRCPZ7nu9N2evlwHZ0XRy dCMqVHpk=; b=DWoXrgx0LJB6k4ingNKJwtHcU7rPjsCHm2noLmhRxxosVbZKdPG FjMyxrwIF097KascOU2f8A7nhJgikIRbIWdqHDNg9Op33qNhcuX2yIXXNUBqu+bx NeT87zX9VylUCcisxRPBxMsNsHoFbc0pCetzHsVoHebJVlAuCjKtfFhlkhi9y2kr Rxj4hoLf55d4HTlumJFMiReo8raKid9vCcjOYejBhbLaX8GHChFWYONjzyAhc0te BNhcxoIDKdPZbuZCPYasqqOgFExr6InmI7htgMAFY7ciKo1JYPtRSrzRGuu+Zi3w HFzdglChDQznas+7dmBS8KjIbj4ZSy5r8eA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddtgdefleejheculddtuddrgeefvddrtd dtmdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggft fghnshhusghstghrihgsvgdpuffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftd dtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdefhedm necujfgurhepfffhvfevuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitg hhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeen ucggtffrrghtthgvrhhnpeeghfehfeekueevjeehtdfhveefleffveefteelgfejvdffie eihfdtvdegtdefjeenucffohhmrghinheptghirhhruhhsqdgtihdrtghomhenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlse hprghquhhivghrrdighiiipdhnsggprhgtphhtthhopeegpdhmohguvgepshhmthhpohhu thdprhgtphhtthhopehmrghthhgvuhhsshhsihhlvheljeesghhmrghilhdrtghomhdprh gtphhtthhopehrrghhihhlrghshigvugeltdesghhmrghilhdrtghomhdprhgtphhtthho pegvvhhsihesrghmrgiiohhnrdgtohhmpdhrtghpthhtohepphhgshhqlhdqsghughhsse hlihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 3 Jun 2025 01:48:13 -0400 (EDT) Date: Tue, 3 Jun 2025 14:48:06 +0900 From: Michael Paquier To: Matheus Alcantara Cc: Rahila Syed , evsi@amazon.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18920: LOAD '$libdir/plugins' no longer works in 18beta1 Message-ID: References: <18920-b350b1c0a30af006@postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qUX9B6j3isXjLhqK" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --qUX9B6j3isXjLhqK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 02, 2025 at 07:56:01PM -0300, Matheus Alcantara wrote: > On 02/06/25 16:56, Rahila Syed wrote: >> Currently, the tests seem to be failing as follows for windows: >> >> [19:07:13.107] # Failed test 'create extension from custom extension >> control path'[19:07:13.107] # at >> C:/cirrus/src/test/modules/test_extensions/t/002_strip_modulepathname.pl >> line 102.[19:07:13.107] # got: '2'[19:07:13.107] # >> expected: '0'[19:07:13.107] # Looks like you failed 1 test of >> 7.[19:07:13.107] [19:07:13.107] (test program exited with status code >> 1) >> >> Details here: Windows - Server 2019, VS 2019 - Meson & ninja - Cirrus CI >> >=20 > Fixed, v2 attached. The 0001 patch remains the same as v1. I am adding an open item for Peter Eisentraut, for 4f7f7b037585. The patch looks sensible at quick glance, I did not check it in details regarding the internals of dfmgr.c. I don't like much the tests you are adding here. First, the cross-platform requirements to copy a library to the plugins/ folder is annoying. The actual issue is that we don't have an installation rule to be able to install a library to a plugins/ path to allow non-superusers to load it, no? I mean, as 4f7f7b037585 states, we have a `make install prefix=3D/else/where` but the TAP tests cannot shape a temporary installation with it. If we had something like that for meson and makefiles, we could then reuse EXTRA_INSTALL to force a library to exist where we want it to be, for the sake of testing coverage. I am not completely sure that the tests are completely waterproof, either. Some distributions like fancy installation folder layers, like Debian, and such things have proven to break these folk's tests. Having a centralized rule could be also useful for out-of-core extensions, to give these a way to install something inside a plugins/ folder. At least that may be better than requiring pg_config to get the basic library install path. Second, requiring dummy_index_am inside the tests test_extensions is adding unwelcome complexity across the test modules. -- Michael --qUX9B6j3isXjLhqK Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmg+jJYACgkQnvQgOdby QH1gxQ/9HOOrBsx5DkLGmX1g6fgkyeL6L7PxWrbqekp/AAF8Dv7YNZdqHiAV9w7v 28FQUvbEnfludI9R2BONkWxbWsK4wL6w6/u8giSRKtGbHWGTUT4L2XY6sl0uUx3W 1u+wLVfwu9jSgn4ymhjSeT94o1OnF7YuaYdsbCaoMdlnYnXAg290aXFfRVhnu51a yQXm5PdMH9919GynamE2o2d+gZ4i71OzdR18gusmUk/6r76IJ/gRkrcIT3/1S6+V ki8wK4pvFmJJBrSziaePtYyGY/qwk14LK10oQfdrkE6lw4CEraxHtn2HoICJKnBT iFS0A/A978yMcXs57Fkp8E2jcUHfVWM3Cp90mXahGjy87ZI8uiS0Y6n9L34+zDw8 t1LdzDY+6S6PZ6oHMRTchrkfYunrovouiarz7Y7Y89/F72o0njVTlOFhpHrsP6cM EdzYuMk2rYj0x3cVSeFO0r7cU3yLO22N5cjhVW4Io8SH4xrBya9XEvaOxIbdfmog aKnqt9aUjHpnFbqYLQ+iK0mhW4cwSTl62FWfzreRSZEKBqPbGmucNhajU4aU41Ir jlGJBXtUBvVqs617tsrSSdyut8WXrGPTCcQBguY4Zn5p+Nkzl7qF4oR7PDAL5uPj mJiUg04BcLmGF2yNblqoASvznCI6EhElJIZZ21TCkJ9VIe972gc= =hDIZ -----END PGP SIGNATURE----- --qUX9B6j3isXjLhqK--