Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ovLg8-0001bj-93 for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Nov 2022 16:54:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ovLg7-00063a-3m for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Nov 2022 16:54:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ovLg6-00063R-QQ for pgsql-hackers@lists.postgresql.org; Wed, 16 Nov 2022 16:54:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ovLg0-000543-Ej for pgsql-hackers@lists.postgresql.org; Wed, 16 Nov 2022 16:54:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 2AGGsA6p1360238; Wed, 16 Nov 2022 11:54:10 -0500 From: Tom Lane To: Andres Freund cc: Peter Eisentraut , Andrew Dunstan , PostgreSQL Hackers Subject: Re: meson oddities In-reply-to: <20221116164010.uxsrhsqiqhftvkfp@awork3.anarazel.de> References: <64c0517b-5504-68ea-1912-9f647a70a3cc@dunslane.net> <20221114232407.peu4n2wzff3oud4m@awork3.anarazel.de> <20221115190425.uapepwpzmemyokqi@awork3.anarazel.de> <91b563cc-fa78-0011-5efc-ce61d277d64f@dunslane.net> <1197537.1668546515@sss.pgh.pa.us> <20221115234042.zkxyxzv5wgewit33@awork3.anarazel.de> <030d04cc-d4f3-cd28-5bcb-b2b5d00f0015@enterprisedb.com> <20221116164010.uxsrhsqiqhftvkfp@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 16 Nov 2022 08:40:10 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1360236.1668617650.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 16 Nov 2022 11:54:10 -0500 Message-ID: <1360237.1668617650@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > On 2022-11-16 10:53:59 +0100, Peter Eisentraut wrote: >> Could you explain this in more detail? > If I just want to install postgres into a prefix without 'postgresql' ad= ded in > a bunch of directories, e.g. because I already have pg-$version to be in= the > prefix, there's really no good way to do so - you can't even specify > --sysconfdir or such, because we just override that path. At least for the libraries, the point of the 'postgresql' subdir IMO is to keep backend-loadable extensions separate from random libraries. It's not great that we may fail to do that depending on what the initial part of the library path is. I could get behind allowing the user to specify that path explicitly and then not modifying it; but when we're left to our own devices I think we should preserve that separation. regards, tom lane