On Sun, Mar 7, 2021 at 12:47 PM Justin Pryzby <pry...@telsasoft.com> wrote:
> > IMHO we can always allow creating the table with lz4 and only error
> > out when we really need to compress/decompress the data.  I like this
> > behavior because it is the same as libxml.  But I am fine with
> > allowing it only in binary upgrade also.  Another option could be to
> > fall back to default "pglz" in binary upgrade mode if it is built
> > without-lz4 but the problem is this will change the table
> > specification after the upgrade.
>
> No, you certainly can't do that.
> You'd have a table defined as pglz but with lz4 in the data files.
> In the best case, it would give errors about corrupt lz4 data.

Yeah, we can not do that.  Just missed that part :)

-- 
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com


Reply via email to