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.96) (envelope-from ) id 1vxv45-00HG9M-0e for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Mar 2026 22:51:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vxv43-00EkVw-11 for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Mar 2026 22:51:35 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vxv43-00EkVo-09 for pgsql-hackers@lists.postgresql.org; Wed, 04 Mar 2026 22:51:35 +0000 Received: from fhigh-b2-smtp.messagingengine.com ([202.12.124.153]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vxv41-00000000RYl-3gHk for pgsql-hackers@postgresql.org; Wed, 04 Mar 2026 22:51:34 +0000 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfhigh.stl.internal (Postfix) with ESMTP id D4C267A0293; Wed, 4 Mar 2026 17:51:32 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Wed, 04 Mar 2026 17:51:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1772664692; x=1772751092; bh=GExDDIt0U8 zqY0gd3JZSSxs34cbHcfJOmUmVhgFB+GM=; b=2HMlVnHGkym1mMhYQI1NIuCrZZ 7UgQpGmQ8bDzNWJqkpKP/EUqzJwVSF8eU30dKM+PA6mx26N6pitJVcsi8EY2P7U4 v9Kr2CsR7JddjdX53/+e0Pz0l1gznw6Nynvrpja3pMkO/ra80GBK3lMnBJQQ7E+k BnM+ftbGaByvz9/GeNkRSg3+e1oOLeCkR+pWLgV0/MeXuLxxZckj2yE3JLw+x7Yw uLXfP6VDUsBIzWtB2tgFSy/4fornC0HKZ9Bo11hw9QSSnUbgdHJL3L3o4cWAnvjl Q4BxEfZEQUEX9trLhUv2TBsxFEB2XGTI0sQ3QcclPdSsB070NwfM5zqqEbWA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1772664692; x=1772751092; bh=GExDDIt0U8zqY0gd3JZSSxs34cbHcfJOmUm VhgFB+GM=; b=I8ui/aR7aIfrugjVUnGvKC3jXoiMP5Y/W2hYrPc2L6ntoOGnabj 4PSDQD3e9FwJ3rCRSu2PW0PEb9AiqgFlNJAlp9nCd3e98+30NC0o3aEnDtjltQmm 8rCTqTobXn1Jr+T4QGIPJ7FbekOMbcycy9k3Obu+ftjAQuuCLp1Z6AFis8rRrVWK 6C5/3UIDkTfNBxlrg0WpiF0TggA34QdmMJEKekI3EqyAGSTCBXJQmfxzHYfSifj1 wm6bjcLjpLpJSvRfA8QSv7FMDOBEc5XOyAoEYpKtMfRmMwGDAO5ChFHA7v4iUBzm 4iucVNrcq9u55/MzisVJvE8c96PxS0Uhd9w== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvieegjeehucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepgedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepthhglh esshhsshdrphhghhdrphgrrdhushdprhgtphhtthhopehjrggtohgsrdgthhgrmhhpihho nhesvghnthgvrhhprhhishgvuggsrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgrtg hkvghrshesphhoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepmhgrrhhkfihkmhes ghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 4 Mar 2026 17:51:30 -0500 (EST) Date: Thu, 5 Mar 2026 07:51:26 +0900 From: Michael Paquier To: Tom Lane Cc: Jacob Champion , PostgreSQL Hackers , Mark Wong Subject: Re: pgsql: Change default value of default_toast_compression to "lz4", when Message-ID: References: <1669305.1772663689@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="64+5Pr4zroGYxSIR" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --64+5Pr4zroGYxSIR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Mar 05, 2026 at 07:47:03AM +0900, Michael Paquier wrote: > Hmm. If you guys feel strongly about it, I'd be OK to revert. Now > there is a way to split the pie into two halves: we can still > introduce DEFAULT_TOAST_COMPRESSION and use lz4 as default for the GUC > if lz4 is included in the build but, leave the switch of --with-lz4 to > --without-lz4 out of the equation. This choice would leave the > buildfarm in piece, and it still achieves the goal of enabling LZ4 in > TOAST by default, as long as --without-lz4 is used. As long as the > latter is achieved, the point of the change would be made. As I had the idea to press send too quickly, here's a reformulated version. ;) We can still introduce DEFAULT_TOAST_COMPRESSION and use lz4 as default for the GUC if lz4 is included in the build but leave the switch of --with-lz4 to --without-lz4 out of the equation. This choice would leave the buildfarm in peace, and it still achieves the goal of enabling LZ4 in TOAST by default, as long as --with-lz4 is used. As long as the latter goal is achieved, the point of the change would be made, at least partially. -- Michael --64+5Pr4zroGYxSIR Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmmot24ACgkQnvQgOdby QH0jWQ/9EZa8Qt+A4Nk9IYUSxN/bb1DOP5N0h4F0Xxypxw1EX7maob1yJI63iMPs XDAmgu7YbWqfmqoFSDqBZeHxQSm9GiSroa+S7URKJzbFFjmu5O1SzwMcQIvcYZDs ux0WXplOw8VMVcszpSGb5CwWKb8YJUWoAS13Xe97owJTXityJhgTgBHe3L9+DIPv brwH7PfFKpwjWxGLU64M+jVsF6YW8lYy3qvNF7w/5QwMRASXqJ3nw0z6S4EmHWPR XJELbaqYBGSbld9OCi4CDpj7NbLPg5bwIPk0EMfi25z73YDk/tbSQgnVXyDXTUnY dIZRwLMTnjKKthRJEigUxZtlvjp5u75tZQVz9/5VNEr7Q6KSE9BqTa2soQI2ePoS +wy3WiPK+LGIh3hYK7sz0Q2rl+wc4czBGAt/2g3+3+f2CgC6bvj3JpOpWE1uLZC5 EaL7u05GSmcKt7I8GerOOY6vqZeK5EMF6bPcxgNKrK/KX/V1D7xokKdr6qYu+Fou gZntR3WdluLHrfSlz9zfi9BDPZPD/lgHVqlJ0v+8HFCS+H5z6mZgE6gwnSWl0Oxj 8MfiB3ATIKhxU3yNN/TZi6Roz25p6Mo3l4n4FkczYqvS0wqQZFIkv3fWXMEsdN7C AXkJPwTu3sKOw6suWwTugHL83cUzeHCmrEcBDvauoM2yOeKkGHs= =23NG -----END PGP SIGNATURE----- --64+5Pr4zroGYxSIR--