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 1rml8n-009gGY-48 for pgsql-bugs@arkaria.postgresql.org; Wed, 20 Mar 2024 01:53:17 +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 1rml8j-001YgP-1u for pgsql-bugs@arkaria.postgresql.org; Wed, 20 Mar 2024 01:53:13 +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 1rml8i-001YgH-Q5 for pgsql-bugs@lists.postgresql.org; Wed, 20 Mar 2024 01:53:13 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rml8f-005Q7i-57 for pgsql-bugs@lists.postgresql.org; Wed, 20 Mar 2024 01:53:11 +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 42K1r8CZ4093814; Tue, 19 Mar 2024 21:53:08 -0400 From: Tom Lane To: Thomas Munro cc: Bruce Momjian , Christophe Pettus , Andrew Dunstan , Wolfgang Walther , PostgreSQL Bugs Subject: Re: Regression tests fail with musl libc because libpq.so can't be loaded In-reply-to: References: <855a1b16-0dc0-42b2-8f90-79eb49cf2893@technowledgy.de> <3561573.1710771812@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Wed, 20 Mar 2024 14:12:54 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4093812.1710899588.1@sss.pgh.pa.us> Date: Tue, 19 Mar 2024 21:53:08 -0400 Message-ID: <4093813.1710899588@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > Yep. How long is /proc/XXX/cmdline (check with wc -c /proc/...) in a > postmaster near you? You'd always get that much, plus as much of > /proc/XXX/environ as we can find before you reach LD_XXX=, which on a > typical system would, I guess, usually be never. I'd be happier about this if the target pattern were more restrictive. Is there reason to think that musl keeps a pointer to anything besides LD_LIBRARY_PATH? regards, tom lane