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 1tvkV7-007hS8-TA for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Mar 2025 22:06:02 +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 1tvkV6-00H7Vb-6a for pgsql-hackers@arkaria.postgresql.org; Fri, 21 Mar 2025 22:06:00 +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.94.2) (envelope-from ) id 1tvkV5-00H7VC-8U for pgsql-hackers@lists.postgresql.org; Fri, 21 Mar 2025 22:05:59 +0000 Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tvkUu-000OJq-0U for pgsql-hackers@postgresql.org; Fri, 21 Mar 2025 22:05:57 +0000 Received: from phl-compute-09.internal (phl-compute-09.phl.internal [10.202.2.49]) by mailfhigh.stl.internal (Postfix) with ESMTP id 6D1932540130; Fri, 21 Mar 2025 18:05:46 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-09.internal (MEProxy); Fri, 21 Mar 2025 18:05:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=justatheory.com; 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=1742594746; x= 1742681146; bh=Y3ml97qiPk25V2XoSEYi2R8b+7PqHIHBZMSpn88sLsM=; b=L +sxyWAViQow7vHUxUNWyfb0Oov/6cWe+kBVYvIz0jAcnf9sQGWykXMmYABW8mpPf MUmtPBadXtsQXQJDDTrT53SsH0fYT/WoPmn/OR1mEXDs/0CRVos19t8cf18rfT0s wvIbgKoijQTGKrjfu69lqeILatG9EyU/vDntfg8nmXYCywNO1PGdT8S5MCTj1JBk 8dllxN/rFcGcahS8z/602WBpZLV0BJikMTXnHkZX97YmuxXi/EY7k/TOcvwew9A/ S4LuR1fe5otvV1kcjhizQrGHiVJrmw1Gw7SJ9hwOfIW5n/1DS3QOhgaeaOWLwVo8 Ipy8LxEiPPKyLhd+I58Tw== 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= 1742594746; x=1742681146; bh=Y3ml97qiPk25V2XoSEYi2R8b+7PqHIHBZMS pn88sLsM=; b=YZiiyvzNnI+QbpNJzu97XYBrjSva2zbMNUH9N+UuHTIkpS6IvzX WK3KXEXrACA3GHuSspfkjux3pHONsyBZBZv1a4ZxnKJs5QAOUBaxafNkLZG09A2y TlXruZ/TsfdvS/PQWJSfYh4mSruR0CWN9O7WBk5zaLkz4r3aCvUPFO/DxojZmRUH 0o6SPyV4kb6v4Iq3aTe4PiBxBZEwF4FgXOKow1fzgAitTC1s8WqMCl+yiR0NC5rs usnN2B5snct4jcL3krS1ZopNOLwRI1ZK0mQjLEYmU6F0UGdJwilr7rJrZ56UqgO9 B9h1S7fDPFHkCHoHLsMBxfPeeA4Pat6Pj8Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduhedvvdegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurheptggguffhjgffvefkfhfvofesghdtmherhhdt jeenucfhrhhomhepfdffrghvihguucfgrdcuhghhvggvlhgvrhdfuceouggrvhhiugesjh hushhtrghthhgvohhrhidrtghomheqnecuggftrfgrthhtvghrnhepheetleevjeelkeet leeiteegteeludeuteekgfdtuefgveevheegtddttddvfffhnecuffhomhgrihhnpehpoh hsthhgrhdrvghspdhpohhsthhgrhgvshhqlhdrohhrghenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurghvihgusehjuhhsthgrthhhvghorh ihrdgtohhmpdhnsggprhgtphhtthhopeekpdhmohguvgepshhmthhpohhuthdprhgtphht thhopehmrghthhgvuhhsshhsihhlvheljeesghhmrghilhdrtghomhdprhgtphhtthhope hpvghtvghrsegvihhsvghnthhrrghuthdrohhrghdprhgtphhtthhopegrnhgurhgvfies ughunhhslhgrnhgvrdhnvghtpdhrtghpthhtohepghgrsghrihgvlhgvrdgsrghrthholh hinhhisegvnhhtvghrphhrihhsvggusgdrtghomhdprhgtphhtthhopegtrhgrihhgrdhr ihhnghgvrhesvghnthgvrhhprhhishgvuggsrdgtohhmpdhrtghpthhtoheprhhosggvrh htmhhhrggrshesghhmrghilhdrtghomhdprhgtphhtthhopegrlhhvhhgvrhhrvgesrghl vhhhrdhnohdqihhprdhorhhgpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrshesph hoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i7c334307:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 21 Mar 2025 18:05:45 -0400 (EDT) Content-Type: multipart/signed; boundary="Apple-Mail=_9C90FDA5-1310-4834-A678-5319154FB570"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.400.131.1.6\)) Subject: Re: RFC: Additional Directory for Extensions From: "David E. Wheeler" In-Reply-To: Date: Fri, 21 Mar 2025 18:05:34 -0400 Cc: Peter Eisentraut , Andrew Dunstan , Gabriele Bartolini , Craig Ringer , Robert Haas , Alvaro Herrera , PostgreSQL-development Message-Id: <0F50D989-B82D-4F59-9F13-C08A4673322C@justatheory.com> References: <0d384836-7e6e-4932-af3b-8dad1f6fee43@eisentraut.org> <4f7209ba-1ca2-475e-9a70-0f3fe0be6378@eisentraut.org> <12312928-5516-49b8-81c1-a7b56fd01bc8@dunslane.net> <38c53446-6b65-4222-b76b-351e56f4841c@eisentraut.org> <7c178ff3-20a5-493e-a704-e6b3263e782f@eisentraut.org> <28e98657-9369-4539-9e06-9124d1e77853@eisentraut.org> <6B5BF07B-8A21-48E3-858C-1DC22F3A28B4@justatheory.com> To: Matheus Alcantara X-Mailer: Apple Mail (2.3826.400.131.1.6) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_9C90FDA5-1310-4834-A678-5319154FB570 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On Mar 21, 2025, at 17:52, Matheus Alcantara = wrote: > Did you miss to attach the patch? No. You can see it in the archive[1]. Direct link[2]. > Maybe we could make the "extension" part of the extension control path > explicitly, like Peter has mentioned in his first patch version [1]?. > If "directory" is not set we could use "extension" otherwise use the > "directory" as a path suffix when searching on extension_control_path? So, omit =E2=80=9Cextension=E2=80=9D from the path options, append it to = search for control files, and then append the directory value (if not = absolute) if it exists to look for files, and otherwise append = =E2=80=9Cextensions=E2=80=9D to find them, too. I think that makes = sense. Essentially it becomes a SHAREDIR search path. Best, David [1]: = https://postgr.es/m/6B5BF07B-8A21-48E3-858C-1DC22F3A28B4@justatheory.com [2]: = https://www.postgresql.org/message-id/attachment/174397/v1-0001-Flesh-out-= docs-for-the-prefix-make-variable.patch --Apple-Mail=_9C90FDA5-1310-4834-A678-5319154FB570 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEd+KfmbOQis6ZycGGkt9idPjIgfEFAmfd4q4ACgkQkt9idPjI gfGrNRAAkks0Nti7tEgNbwMYuWz1HRlQh5YxfMBu+KNqVy0JNto03TesSJilKCmg ZktOl2F7G3n7Al0JkAURo1EnWfoLgdFJvtGs96hT8MgJzdbYfIBigagG/bodiLq9 z86nOGVqBhudnkthiQBP/eZagv0evJEwitvkWr0oU6tUuk7zFd2A+guyIcR+tNB6 3qKUwkuf4v7+t2MG1LDUTSZ9mKfONnuAKuKZUC9AoNvwOR5ua11Iqm0V+EBr5dt7 7MRCQ/n0S0qdBYZy5ox4PZkykUoPBaEUmZnGrvRW/EG+M/HiQIsdr5SeXX0Uxbun 0kOnhmBeZll+v2OvX7N+/XF6K/AGDJCR1vDN1OjF7wi5tR/IemBdDl9F55LJyFyS 8PYG+8L8lp9Mp5APtTMrBRsdcXuqTUW9UtQaYyIMYfJvqaQ1lTSnwfpsDPvLxJvz 5dALT6gFglhE86zJSICiTgSCA0CEFD0dkTPGm8NXnhOafzSSRQ71HN1Due4XaDzb zou1yQouLA33v2Cj5urUs4VvDi5XgA1ye2vtHSY1xZ7/ZPzu5DKl1JOuIaRupgiC gsyKXNMHefD0/us3jJgfULfcDwv6/Nd0kzsu7iLiEPA0vHEIqZ5yPErZ9s3BwYjf DOh6+qk6scT5PH4tWsz/tlo8XjRCpUHitiE2MSLocpVcspJwWic= =zCE5 -----END PGP SIGNATURE----- --Apple-Mail=_9C90FDA5-1310-4834-A678-5319154FB570--