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 1whElz-0005z2-2d for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Jul 2026 23:00:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1whEkz-003F3v-12 for pgsql-hackers@arkaria.postgresql.org; Tue, 07 Jul 2026 22:59:14 +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 1whEkz-003F3i-02 for pgsql-hackers@lists.postgresql.org; Tue, 07 Jul 2026 22:59:13 +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 1whEkx-000000003bX-0QpN for pgsql-hackers@postgresql.org; Tue, 07 Jul 2026 22:59:12 +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=CdZxi1t/klB5+Tpk0D7luopiDBSB0crIrIQUrHA942E=; b=WN2NaxYb9zH/2Z84SUlK++90Hs NZa5GfadWbZB2/15tx31JzciclXEx1ZIq4GZYirNasp8bsrWWfU2ea6uPplAQ7wEpiwAVl7Seo2ln eLZOWp16JTRrZrJtK/vHFiFNQbpxTYeNY9WjPEvN1B9sage9TC3zkqIXTd+O+GrIOzD3XOkou1Nn1 tYpaUiwQxLdOqFDExlmhjkn8s0PJhLMl+SKwAZqjSmN4WoNiGJukLmGaSzDp5Q/53jY98S+F8g840 nHbVsyatxQTsuiwZQ4XCwY0jsIRrYIHet1uMYCV+8std+ZHEHBTQpooKWx7b+QGOje1YZ5gIKkumH mhRULV7g==; 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 1whEkm-002WVI-1C; Tue, 07 Jul 2026 22:59:00 +0000 Date: Wed, 8 Jul 2026 00:58:59 +0200 From: Christoph Berg To: Jelte Fennema-Nio Cc: Michael Paquier , Japin Li , Fujii Masao , wenhui qiu , pgsql-hackers , John Naylor Subject: Re: WAL compression setting after PostgreSQL LZ4 default change Message-ID: Mail-Followup-To: Christoph Berg , Jelte Fennema-Nio , Michael Paquier , Japin Li , Fujii Masao , wenhui qiu , pgsql-hackers , John Naylor References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Debian-User: myon List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: Jelte Fennema-Nio > A small correction though: "on" isn't the default. The default is > "off". So this would only impact users who changed the setting in > their cluster to "on" at some point in the past when lz4/zstd support > did not exist yet. So we wouldn't be changing the default. We'd be > changing the behavior for people who changed their default setting at > some point. If someone just wants compression and not bother with the ugly details of compression algorithms, they might be inclined to just say "on". By labelling one of the choices with this "easy" value, we are effectively promoting pglz as a good choice. (I'm definitely one of those people, if you give me too many options, I will look for some hint what to do or walk away. Now 3 isn't "too many" but you get the idea.) I would like to see "on" to be moved to some better value (likely lz4, like toast compression), and if some day, there is yet a better choice, we should move it again. Christoph