On Sat, 01 Aug 2026 at 00:50, Christoph Berg <[email protected]> wrote: > Re: Tomas Vondra >> Thanks. FWIW I've brought this up with the RMT, and there seem to be no >> objections to getting this done for PG19. Unless someone objects in the >> next couple days, I'll get it committed. > > Thanks! > >> AFAIK the algorithms make different trade offs - zstd tends to compress >> better, but uses (substantially) more CPU. I think it makes sense to >> default to lz4, it's clearly better than pglz, with low CPU usage. > > Yes, lz4 makes sense to me now. zstd is the "can I tune it harder" pick. >
How about adding a comment or documentation to clarify the rationale for choosing lz4 over zstd? > Christoph -- Regards, Japin Li ChengDu WenWu Information Technology Co., Ltd.
