Hi, On 7/16/26 11:08, wenhui qiu wrote: > Hi Tomas > > Thank you for your reply , Why did I come up with this idea? When I > suggested changing `wal_compression on` to ZSTD or LZ4, Wasn’t > accepted. So I wondered if it could be implemented internally. In > any case, it can’t compete with LZ4, so I don’t think it’s worth > investing effort into improving PG-LZ. Setting LZ4 or ZSTD as the > default is the best option. >
Maybe I'm missing something, but I did check the wal_compression thread [1], and I don't think it was rejected at all. I think people agree with the proposa to change what 'on' means, depending on whether lz4/zstd is supported by the build. And I agree with that plan, so let me comment on that thread. [1] https://www.postgresql.org/message-id/flat/CAGjGUAL1b%3DMwd1SCvLbo%2BfivEr9KDpFcu4jmqKCZXwT%3D6CiiGQ%40mail.gmail.com -- Tomas Vondra
