Re: change default default_toast_compression to lz4? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: change default default_toast_compression to lz4?
Date
Msg-id aSaDfIrZIhZwAe42@paquier.xyz
Whole thread Raw
In response to change default default_toast_compression to lz4?  (Peter Eisentraut <peter@eisentraut.org>)
Responses Re: change default default_toast_compression to lz4?
List pgsql-hackers
On Fri, Nov 21, 2025 at 12:11:38PM +0100, Peter Eisentraut wrote:
> I suppose one issue is that lz4 support is not compiled-in by default, but
> in practice most users will have it.  The default could be lz4 if lz4
> support is built, otherwise pglz.  This would be similar to other parameters
> where the default is the best one depending on the build configuration.

+1.  That makes sense here to flip the default depending on what the
code is built with, with lz4 if available, pglz otherwise.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: [PATCH] Add mssql_compat extension with DATEDIFF function
Next
From: Michael Paquier
Date:
Subject: Re: Support for 8-byte TOAST values (aka the TOAST infinite loop problem)