On Fri, Jan 6, 2023 at 10:02 PM Andrey Borodin <amborodi...@gmail.com> wrote: > > Hello! Please find attached v8.
I got some interesting feedback from some patch users. There was an oversight that frequently yielded results that are 1,2 or 3 bytes longer than expected. Looking closer I found that the correctness of the last 3-byte tail is checked in two places. PFA fix for this. Previously compressed data was correct, however in some cases few bytes longer than the result of current pglz implementation. Thanks! Best regards, Andrey Borodin.
v9-0001-Reorganize-pglz-compression-code.patch
Description: Binary data
v9-0002-Fix-oversight-for-compression-of-last-4-bytes.patch
Description: Binary data