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 1nXzR2-0006nc-53 for pgsql-hackers@arkaria.postgresql.org; Sat, 26 Mar 2022 05:58:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nXzR0-0003cg-PD for pgsql-hackers@arkaria.postgresql.org; Sat, 26 Mar 2022 05:57:58 +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 1nXzR0-0003cR-FT for pgsql-hackers@lists.postgresql.org; Sat, 26 Mar 2022 05:57:58 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXzQy-0000at-D2 for pgsql-hackers@lists.postgresql.org; Sat, 26 Mar 2022 05:57:57 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id E64A23200F9C; Sat, 26 Mar 2022 01:57:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 26 Mar 2022 01:57:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; bh=9z3wZ78lJFrmHlDZNHkSEbpJE7qijuuCq5F8MB ubzxE=; b=u+bMRo+VDeAdVJilPSI0Nszm3avmA4SHCKEMArnB98sw54RPjH44c/ 4dalD8ONOFS5P9Ul6Owrd2tGLxiwIHW1PI3UAfik5TC+Dizy3rm1MwVg+1mT+mbm CqveS+Ym6hIzb8gCGJZ7Wi7Gd/GEiWx2dY+IFJph0TXFAfks8MMDBax5T5VN8bCf lAVdoEQ7QlRGTxjYQHy+m4BGDnn+6objrHKItXP04jLtI2zVKkeoV7VanbqychQe cDIwAy8AHP/KRYc8qqneWfRz6tA+vLU8aqwj2Qy0PBB2hNyBW2GfTIJwwRT4NSI1 xqTYB75U9FN1YJPgDp8iq23vPuK05oxg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=9z3wZ78lJFrmHlDZN HkSEbpJE7qijuuCq5F8MBubzxE=; b=RC+NdGoakVs4EWgnryLZSWv+98eC68CXM 0rqh3NaGsH4CH/nCpR61VCxd5nWC+RRmkU6oHfN9i7CWTiTZb61uC9dmszIRHayJ 4whWv2tqQIVwt2vqAu5Y5RcuwbTdlbVujfyDgSL/LNTWBN3yF1NU0kzHU4RLHw0l 6hSzWuQO6+DQyB9JpI83naxVjUO0Fw96JRBcvh0uw/FvlVUqgr7lalBbB0maYgKe 9bBKJ7Fd+prgpAfSHLQGMJtCnypmgtxFG+lT+fbPKsvuDBNcz7f2ESHEsmm441fB Jye74qifqg/2TYmeTkeRHub5G3sHzoTiWaN/hQ60rHimT/FzUO+kQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudehvddgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlvdefmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 26 Mar 2022 01:57:52 -0400 (EDT) Date: Sat, 26 Mar 2022 14:57:50 +0900 From: Michael Paquier To: gkokolatos@pm.me Cc: Rachel Heaton , Justin Pryzby , Greg Stark , Postgres hackers Subject: Re: Add LZ4 compression in pg_dump Message-ID: References: <20220304161039.GL27651@telsasoft.com> <20220325132253.GD28503@telsasoft.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="PjWpHmZAcIKYgvQy" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --PjWpHmZAcIKYgvQy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 25, 2022 at 11:43:17PM +0000, gkokolatos@pm.me wrote: > On Saturday, March 26th, 2022 at 12:13 AM, Rachel Heaton wrote: >> Here is an updated patchset from Georgios, with minor assistance from my= self. >> The comments above should be addressed, but please let us know if >=20 > A small amendment to the above statement. This patchset does not include = the > refactoring of compress_io suggested by Mr Paquier in the same thread, as= it is > missing documentation. An updated version will be sent to include those c= hanges > on the next commitfest. The refactoring using callbacks would make the code much cleaner IMO in the long term, with zstd waiting in the queue. Now, I see some pieces of the patch set that could be merged now without waiting for the development cycle of 16 to begin, as of 0001 to add more tests and 0002. I have a question about 0002, actually. What has led you to the conclusion that this code is dead and could be removed? -- Michael --PjWpHmZAcIKYgvQy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmI+q14ACgkQnvQgOdby QH12vg//T1dVbwN8NkojJH9b2SmXjhigvfUVSXGQ9KXAdNwqR2mZcKkfZalxYw49 at2m0JaX61HIiBIWLiyLpjSRLJ0DI1M68PkG/19HigbJY7sx6z56Kz3/mdr0PBCW ei25euivHp9/JLA2yo1AEiN9XA0w+ALuZloDbJkeSsWd6W2zDcDZ3Z4LfIEtCJQN RmP+HZgUlFfgv3e89Br7fuEQqFUwaahGUK+EUm6iNfaJKAYtT8eT4mARbGlNz2DP g4m12VS3yKfmZ/fW5hALG9nOL3HG176dSpK0mI0BZBPFh/pV2duSCNUTrXI0goDI SdaGyKEb8XdqN0kFiczHM5KfLYCfc2Z8R8cCHXw7Mf2xCWA9tL3Oek7+gu1FaCQm nwJ7y+BEXajrZyOjYxYsI2j7IJDsVSdWzJvVlF3z0d+auoAK+FtHpIOy4pgfkGcU gYTbB4Ge0OgF4vmbG3YHvaxBfkA7hyEhiYnOSm/BG9/1NiixVZ2tmc3NYFVxoxRd HGRRXtVVyk2K8kciMfkkWiSkEsOwSLp+X4BCIONud0pQFwD0I2GfRfBq5CRvaOn+ YxxZqBGohqa3zvkgLrsoYX2JxPKs3w6DN2LfG0R35Ri48PuEFyDi51aMN7CZzr0E 0+09YhQTU/hlbhMPdCg9x8/9dIfufrBHLVTdPvVHiYaHfrpcNwQ= =3Yav -----END PGP SIGNATURE----- --PjWpHmZAcIKYgvQy--