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 1wsRAA-000aNq-2a for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Aug 2026 20:27:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wsRA9-00AOby-3C for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Aug 2026 20:27:29 +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 1wsRA9-00AObj-1l for pgsql-hackers@lists.postgresql.org; Fri, 07 Aug 2026 20:27:29 +0000 Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wsRA6-00000000jdc-3WWC for pgsql-hackers@postgresql.org; Fri, 07 Aug 2026 20:27:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=kFHi0ZnRW4qMDBl2Tv8EtixNc+JMyx8/Gp1xrKNRWn8=; b=gfGuvPPUZMvd3aJsbnTnTEQ3sU VKlylIzkozVjzO5WwbtfWQrqXiF+MVTd9DENka1t0sVyr+ZV07IGW27InqcmPwU/qRtPatOsXTPaH wKP4jchhCpzphyIVncubRxhaxlXzGIFcnP3RZtsgn+K9ZKVjv59U0nogRSt+P4NSbvSLcgkXOA0T3 Gkf+vmz9Ct2qEZbAEXrIg/UTF3XxrGjocsmwtsRbFd1r7kbY66IrpfOXk2ILRe9aP3WWs+zLQun5a BNV/XmwwjG/of7tCZerConaAQKU7XAc1zumMs16IDdspQPpc++MNMlSTAzP5DdElfUEKMp+PWlbg2 V8/b8ZZw==; Received: from authenticated-user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1wsR9l-000gNr-2x; Fri, 07 Aug 2026 20:27:06 +0000 Date: Fri, 7 Aug 2026 22:27:04 +0200 From: Christoph Berg To: Tomas Vondra Cc: Andrey Borodin , Ken Marshall , Hannu Krosing , Andreas Karlsson , wenhui qiu , Laurenz Albe , Andres Freund , Jelte Fennema-Nio , Michael Paquier , Japin Li , Fujii Masao , pgsql-hackers , John Naylor Subject: Re: WAL compression setting after PostgreSQL LZ4 default change Message-ID: Mail-Followup-To: Christoph Berg , Tomas Vondra , Andrey Borodin , Ken Marshall , Hannu Krosing , Andreas Karlsson , wenhui qiu , Laurenz Albe , Andres Freund , Jelte Fennema-Nio , Michael Paquier , Japin Li , Fujii Masao , pgsql-hackers , John Naylor References: <97667b29-9b73-4418-93de-e1928c236b66@vondra.me> <3ebe2c65-7fe5-49cb-ad49-84c1d0cf567b@vondra.me> <1a39cbd6-6528-4f04-8d19-54e3790f006a@vondra.me> <438ce1b2-54d5-4730-99aa-47b9b8f97a19@vondra.me> <18d632e6-6fa9-42fc-9dda-bad166374aa5@vondra.me> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18d632e6-6fa9-42fc-9dda-bad166374aa5@vondra.me> X-Debian-User: myon List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: Tomas Vondra > The question is what does this mean for this thread, i.e. for the > question what should 'on' translate to. I still think zstd seems like a > better default, despite this one result where lz4 does a bit better. > Especially if we know it the difference can be mostly eliminated. To me, this doesn't read like a question but a confirmation that zstd is the correct pick. They are close now, we tend to prefer zstd, and now we know how to make zstd even better in PG 20, then it looks clear that zstd is the "on" to go so we aren't switching twice. (As said above I don't think "PG 19: toast lz4, wal zstd" is bad, the important bit is "PG 19 is switching toast and wal away from pglz", that is the message we should put into the release notes.) Christoph