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

From Tom Lane
Subject Re: change default default_toast_compression to lz4?
Date
Msg-id 1341768.1772600714@sss.pgh.pa.us
Whole thread Raw
In response to Re: change default default_toast_compression to lz4?  (Michael Paquier <michael@paquier.xyz>)
Responses Re: change default default_toast_compression to lz4?
List pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> Now, let's see how much this abreaks the buildfarm..  Because things
> will break.  I'll send a poke to the buildfarm mailing list.

I don't think this idea is really fully baked yet.  What happens
if I build with liblz4, and run for a while with that so that
there are lz4-compressed TOAST values, and then try to update
to a build without LZ4?

I think it might be a good idea to add a field to pg_control
showing whether the cluster has ever been run with lz4 toast
compression, so that a non-lz4-enabled build could refuse
to start rather than encountering unexpected errors later.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: change default default_toast_compression to lz4?
Next
From: David Steele
Date:
Subject: Re: Improve checks for GUC recovery_target_xid