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 1rmwsK-00AmPD-85 for pgsql-bugs@arkaria.postgresql.org; Wed, 20 Mar 2024 14:25:04 +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 1rmwsI-005HkL-Rg for pgsql-bugs@arkaria.postgresql.org; Wed, 20 Mar 2024 14:25:03 +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 1rmwsI-005HkC-EV for pgsql-bugs@lists.postgresql.org; Wed, 20 Mar 2024 14:25:03 +0000 Received: from dd25110.kasserver.com ([85.13.146.49]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rmwsG-005YXd-1h for pgsql-bugs@lists.postgresql.org; Wed, 20 Mar 2024 14:25:02 +0000 Received: from [192.168.0.101] (ip-037-201-153-175.um10.pools.vodafone-ip.de [37.201.153.175]) by dd25110.kasserver.com (Postfix) with ESMTPSA id BFE7EE1A0159; Wed, 20 Mar 2024 15:24:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=technowledgy.de; s=kas202308201259; t=1710944699; bh=AkRNhIeUEqT0UKW0l3bwDh5L1UX3jAeQ6WUelTC98eg=; h=Date:From:Subject:To:Cc:References:In-Reply-To:From; b=qqiAKko2YGRIxhPzXk3Lk0qIF4iSTY/MxKh2SDZh5zx9BfMyFIYl4SCUyWlhI2QW8 ihj5P3TfW4aI6xQH/PW2oVxGNOXArM3NaaL2iMKTTMXiBhChTobyYR1Qpemi8uxU6U VRw2H2tVN6aFXQ13dN6Vnv/UO6xxCXeTJL86M/PPZeO37uD0kAIPsDGg60WZV808p2 qjoj79TSA3d/qYCpmSruAKxy0LO1nNW4uUSBY2Ypprqazalb2EGNcNDHZuIcdnRKEW G97AagHmR6OtSUXx5rXr0joR8jdfgKYHzh7vw4cjLALdJrCBq8ZeJd5Rvhj0uZFEQt v6f3NtiBjdwPA== Message-ID: <1d11d75a-89cf-4e75-9c39-76bef37fc029@technowledgy.de> Date: Wed, 20 Mar 2024 15:24:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Wolfgang Walther Subject: Re: Regression tests fail with musl libc because libpq.so can't be loaded Content-Language: en-US To: Bruce Momjian Cc: Thomas Munro , peter@eisentraut.org, Christophe Pettus , Andrew Dunstan , PostgreSQL Bugs , Tom Lane References: <4093813.1710899588@sss.pgh.pa.us> <4095435.1710900216@sss.pgh.pa.us> <477fa513-6bf0-456d-8d24-1e22a19df671@technowledgy.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Bar: + List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Bruce Momjian: > I guess we could conditionally exec only if we find we must, but then > such exec cases would be rare and rarely tested. I think you might be seriously underestimating how often musl is used. Alpine Linux uses musl and is very widespread in the container world because of smaller image size. The library/postgres docker image has been pulled about 8 billion times since 2014 [1]. While we can't really tell how many of those pulled the alpine variant of the image, comparing the alpine [2] and ubuntu/debian [3,4] base images gives a rough estimate of >50% using alpine in general. This is certainly not rare. But yeah, buildfarm coverage for musl would be good, I agree. Maybe even directly in CI? Best, Wolfgang [1]: https://hub.docker.com/v2/repositories/library/postgres [2]: https://hub.docker.com/v2/repositories/library/alpine [3]: https://hub.docker.com/v2/repositories/library/ubuntu [4]: https://hub.docker.com/v2/repositories/library/debian