Re: Decompression bug in astreamer_lz4

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Mikhail Gribkov <youzhick@gmail.com>
Cc: Pg Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-07-02T05:05:13Z
Lists: pgsql-hackers
On Fri, Jun 27, 2025 at 03:28:18PM +0300, Mikhail Gribkov wrote:
> Attached is the updated version of the patch with test additions.

Thanks for the updated versions.  A bit more variance with the LZ4
levels, even if we cannot track everything, does not sound like a bad
thing to me for the server-side and client-side [de]compressions.  I
have reused what you have suggested, adjusting the tests in the
back-branches based on the fact that int->bytea casts don't exist up
to v17 and that the command structures were a bit different in test
008.

And fixed down to v15.
--
Michael

Commits

  1. Fix bug in archive streamer with LZ4 decompression