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 1lgd4N-0004hQ-FK for pgsql-committers@arkaria.postgresql.org; Wed, 12 May 2021 00:49:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lgd4M-0002i0-4M for pgsql-committers@arkaria.postgresql.org; Wed, 12 May 2021 00:49:46 +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 1lgd4L-0002hs-Uw for pgsql-committers@lists.postgresql.org; Wed, 12 May 2021 00:49:45 +0000 Received: from relay12.mail.gandi.net ([217.70.178.232]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lgd4J-0007sK-3M for pgsql-committers@lists.postgresql.org; Wed, 12 May 2021 00:49:44 +0000 Received: from [192.168.10.146] (99-10-92-30.lightspeed.rlghnc.sbcglobal.net [99.10.92.30]) (Authenticated sender: adsend@dunslane.net) by relay12.mail.gandi.net (Postfix) with ESMTPSA id 95F7B200006; Wed, 12 May 2021 00:49:37 +0000 (UTC) Subject: Re: pgsql: Add support for LZ4 build in MSVC scripts To: Michael Paquier , pgsql-committers@lists.postgresql.org References: From: Andrew Dunstan Message-ID: Date: Tue, 11 May 2021 20:49:35 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 5/10/21 9:44 PM, Michael Paquier wrote: > Add support for LZ4 build in MSVC scripts > > Since its introduction in bbe0a81, compression of table data supports > LZ4, but nothing had been done within the MSVC scripts to allow users to > build the code with this library. > > This commit closes the gap by extending the MSVC scripts to be able to > build optionally with LZ4. Getting libraries that can be used for > compilation and execution is possible as LZ4 can be compiled down to > MSVC 2010 using its source tarball. MinGW may require extra efforts to > be able to work, and I have been able to test this only with MSVC, still > this is better than nothing to give users a way to test the feature on > Windows. I don't think there's anything to do here. On Msys2 I think you can just do 'pacman -S mingw64/mingw-w64-x86_64-lz4' and configure as normal. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com