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 1nZwyc-0004tp-NH for pgsql-hackers@arkaria.postgresql.org; Thu, 31 Mar 2022 15:44:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nZwyb-0003SI-5r for pgsql-hackers@arkaria.postgresql.org; Thu, 31 Mar 2022 15:44:45 +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 1nZwya-0003S9-Sw for pgsql-hackers@lists.postgresql.org; Thu, 31 Mar 2022 15:44:44 +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 1nZwyY-0004dd-HD for pgsql-hackers@lists.postgresql.org; Thu, 31 Mar 2022 15:44:43 +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 22VFie1R641011; Thu, 31 Mar 2022 11:44:40 -0400 From: Tom Lane To: Justin Pryzby cc: Robert Haas , Devrim =?iso-8859-1?B?R/xuZPx6?= , pgsql-hackers@lists.postgresql.org, Michael Paquier Subject: Re: head fails to build on SLES 12 (wal_compression=zstd) In-reply-to: <20220331153740.GP28503@telsasoft.com> References: <551019.1648736791@sss.pgh.pa.us> <20220331153740.GP28503@telsasoft.com> Comments: In-reply-to Justin Pryzby message dated "Thu, 31 Mar 2022 10:37:40 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <641009.1648741480.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 31 Mar 2022 11:44:40 -0400 Message-ID: <641010.1648741480@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Justin Pryzby writes: > Possible responses look like: > - Use 0 which also means "default" (need to verify that works across ve= rsions); > - Or #ifndef ZSTD_CLEVEL_DEFAULT #define ZSTD_CLEVEL_DEFAULT 3; > - Add a test for a minimum zstd version v1.3.7. This may be a good ide= a for > v15 in any case, since we're using a few different APIs (at least > ZSTD_compress and ZSTD_compressStream2 and execve(zstd)). In view of 51c0d186d ("Allow parallel zstd compression"), I agree that some clarity about the minimum supported version of zstd seems essential. I don't want to be dealing with threading bugs in ancient zstd versions. However, why do you suggest 1.3.7 in particular? regards, tom lane