Re: test_compression, test module for low-level compression APIs (for 2b5ba2a0a141)
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Andres Freund <andres@anarazel.de>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>, Andrew Dunstan <andrew@dunslane.net>
Date: 2026-04-13T17:13:52Z
Lists: pgsql-hackers
Attachments
- v2-0001-Add-tests-for-low-level-PGLZ-compression.patch (text/plain) patch v2-0001
On Mon, Apr 13, 2026 at 10:08:16AM -0400, Andres Freund wrote: > I guess that'd work. I don't really see the point in calling these via SQL, > tbh, but if that's easier for you, using a regress.c helper woul do the trick. Okay, thanks for the opinion. It makes the addition of more tests slightly easier as there is no need to rely on an extra wrapper of what's in pg_lzcompress.h. I have done that in the attached, with additions to the main regression test suite. -- Michael
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add tests for low-level PGLZ [de]compression routines
- e138b78cdc96 14.23 landed
- 6b59bd710be1 15.18 landed
- caee654e05e8 16.14 landed
- c78947badc70 17.10 landed
- 42473d90098d 18.4 landed
- 67d318e70402 19 (unreleased) landed
-
Fix heap-buffer-overflow in pglz_decompress() on corrupt input.
- 2b5ba2a0a141 19 (unreleased) cited