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 1mi38P-0004wN-Uh for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Nov 2021 23:24:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mi38O-0001UB-2C for pgsql-hackers@arkaria.postgresql.org; Tue, 02 Nov 2021 23:24:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mi38M-0001SJ-JK for pgsql-hackers@lists.postgresql.org; Tue, 02 Nov 2021 23:24:03 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mi38F-0003Cy-De for pgsql-hackers@lists.postgresql.org; Tue, 02 Nov 2021 23:24:02 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 509E05C0163; Tue, 2 Nov 2021 19:23:53 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 02 Nov 2021 19:23:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=kYPP0bNNAl1Lm8qtjTdf4IUGaoc ltxXwNxtCQIsodZE=; b=pnlnHegWiPXNKhIzocAjs9Dawx89a87R37IsD9vSAi1 GwBJEC2Dg9Ye5Fmuz+FeWNp7FV8QSKjU+B3j3x/lJi/ZMMwg2kkgYgv9QbO9gtWG Q7Dh1ztmWsXe+fi8FohPnOzRNufJwmWDiY1k9xobVgDiLoef0YNaL+3wBfjFGpj2 lifpnpxGNe7cZ3YuZ09LQHTEfKv8BhQrr+lh493jQCQGpLuRT8/JkrG7Sx4mitwM nbSflHC3a1/AwBYjd9I2OdmfGAJERd5aWa5KeHQouAeI7TEaHEH/7YqUXlcpum4S x9Zx9d7wEVsOLHBTua3wQOAZKd4q/YEZ3XNI1dvismQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=kYPP0b NNAl1Lm8qtjTdf4IUGaocltxXwNxtCQIsodZE=; b=MxrUJ26MLKTvHNqAqt9ZyT CPcVO1TtIG7pRGUUaSflU1i2pDaWV/mXOr5XmbXt1onPmL7599pOHN2bNCEpg7A7 u3zTjaDr+3Gd3cc/QvWSHi0YhYMmBII8ggBZvl8Op7tSyZ70aFM3RThw7Sj7D893 9vDYWnDgkMWJekfJhX+yyQzJJeHE334q228e6wx2lBg9t61zZ3liLm5rTK6BRw8r +qL7OviwzmvLsMQuYfdvT7RfmmVarESjMjAU3Jagt9T1wIsZqk2j+wM06rvfsQ9Y R34W3lIZLL7Dk4y/S0Pz2UKRELiGF+anThaI2FpxATW5jgDZwbvCfeprR7jZXs9Q == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrtddugddtkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfg hrlhcuvffnffculdefhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepvdegudeuhfdtueeltedtveejheeh ieevueeigeelteegleejleeiueeiheegvefhnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 2 Nov 2021 19:23:51 -0400 (EDT) Date: Wed, 3 Nov 2021 08:23:46 +0900 From: Michael Paquier To: Robert Haas Cc: Magnus Hagander , Georgios Kokolatos , Dilip Kumar , PostgreSQL Hackers Subject: Re: Teach pg_receivewal to use lz4 compression Message-ID: References: <2sv1K4rAd0hZl65M4_N_yavaqHXnYQJRZOJFK8zMYiHRZsR1BJvXzprxTqi3IzangO5hyuZC5ES-VulHvIU-8B7zJGr15wgF4Dlfbfp2QRk=@pm.me> <8CDVNs7db0aITUJjQ8TkK6pX_mO3vTVdpr0niTKodjcNw8DnUIK1fUWHeTYf9oYQP3YfizJT5XevtKdp7xJ04LU_yRI7MY8pPutua3eQAUo=@pm.me> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wBRYUGQP5SJzWRZQ" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --wBRYUGQP5SJzWRZQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 02, 2021 at 12:31:47PM -0400, Robert Haas wrote: > On Tue, Nov 2, 2021 at 8:17 AM Magnus Hagander wrot= e: >> I think for the end user, it is strictly better to name it "gzip", >> and given that the target of this option is the end user we should >> do so. (It'd be different it we were talking about a build-time >> parameter to configure).=20 >=20 > I agree. Also, I think there's actually a file format called "zlib" > which is slightly different from the "gzip" format, and you have to be > careful not to generate the wrong one. Okay, fine by me. It would be better to be also consistent in WalCompressionMethods once we switch to this option value, then. -- Michael --wBRYUGQP5SJzWRZQ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmGByIIACgkQnvQgOdby QH2+Ng/+L8sN/e29lYDbwtm8uJEYn3bHJ4X1XwA+xIP8Qc4MMxxhG2NV5GULnhwr eHKaeRAuDIpqwqUy+BNYbd1HncwJXFeuuvP9RN41U4NicVstsguNR0vYjc2GuGRK WZWIUUFLs6oq8O66kSsMIal3aShAWxnK8zuG/ZvyZ8OQWON/mBhKAYEFOGiKvuVv IzFOIHm1OXnXBN5YUwxyp8ynJ22xFYDAnLke37YOnzTRguFbiHNn9WPTc9NfZBvL sfGWk2fu7wpuq8Vi9LWgt0Qe+pQtyCLrtDqegwvnxmq4tSrtr9NqpNh4u14DfNBu z4eszZW80vw//2uFHr2++T8jNhYDgK9kRvgdM/MaUaFkKGoPxtJeg+PYcYYTMnYX InanV+WETHw9X9fmceBktSr9dA/gl+UKKLArRT4MABXihZzt3RLeBoqoJPeLVJD4 fxr5d+rS0PYHKSqyat7IAqLKaECRN3e4iSMNvh3WNFoZAvBxiH5Qrzl+0wCVOmHE 4PklXeNG6Sz/E6WTzuFmUMCes2TlUlLqEU+oq/n6sXMcYGb+fYRIgXJ+q/njiImj uyHkeYI5m8qVz4ijR0D3Q98cCJNLxwcdV2xnOF0LKZFkDGbt3CWRPkCbu46km8Jx 86QizCwk1JulBtKrCNGJejoxeZBVFb1xgPp9L1D52YrLzhbN6/w= =9/2+ -----END PGP SIGNATURE----- --wBRYUGQP5SJzWRZQ--