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