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 1rnRsD-00DL0d-HC for pgsql-bugs@arkaria.postgresql.org; Thu, 21 Mar 2024 23:31:01 +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 1rnRsB-00GyxE-Dd for pgsql-bugs@arkaria.postgresql.org; Thu, 21 Mar 2024 23:30:59 +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 1rnRsB-00Gyx5-57 for pgsql-bugs@lists.postgresql.org; Thu, 21 Mar 2024 23:30:59 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rnRs9-005oEN-4o for pgsql-bugs@lists.postgresql.org; Thu, 21 Mar 2024 23:30:59 +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 42LNUqN2795677; Thu, 21 Mar 2024 19:30:52 -0400 From: Tom Lane To: Thomas Munro cc: walther@technowledgy.de, Peter Eisentraut , Christophe Pettus , Andrew Dunstan , PostgreSQL Bugs , Bruce Momjian Subject: Re: Regression tests fail with musl libc because libpq.so can't be loaded In-reply-to: References: <3561573.1710771812@sss.pgh.pa.us> <4093813.1710899588@sss.pgh.pa.us> <4095435.1710900216@sss.pgh.pa.us> <477fa513-6bf0-456d-8d24-1e22a19df671@technowledgy.de> <36690fcf-f0c8-4d60-af49-6a7efa0e2b14@technowledgy.de> <782438.1711062167@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Fri, 22 Mar 2024 12:20:11 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <795675.1711063852.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Thu, 21 Mar 2024 19:30:52 -0400 Message-ID: <795676.1711063852@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > On Fri, Mar 22, 2024 at 12:02 PM Tom Lane wrote: >> The previously-suggested patch to whitelist glibc and variants, >> and otherwise fall back to PS_USE_NONE, seems like it might be >> the appropriate amount of effort. > What about meeting musl halfway: clobber argv, but only clobber > environ for the libcs known to tolerate that? Then musl might see > truncation at 30-60 characters or whatever it is, but that's probably > enough to see your cluster_name and backend type/user name which is > pretty useful information. No real objection here. I do wonder about the point you (or somebody) made upthread that we don't have any testing of the PS_USE_NONE case; but that could be addressed some other way. regards, tom lane