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-13T03:52:59Z
Lists: pgsql-hackers
On Sun, Apr 12, 2026 at 10:20:43PM -0400, Andres Freund wrote: > There's really no reason for something like this to be a test doing tests via > SQL from what I can tell. > > If it does not to be via SSL, can we please start to find a way to combine > tiny stuff like this? We're working hard at making our tests grow > unsustainable. If we care about `make check` rather than `make installcheck`, it seems to me that a solution already exists in the shape of C function called through the main regression test suite. And for the specific case of this thread, I could live with two new functions in regress.c that are then called in compression.sql. Would this idea work for you when it comes to this proposal? -- 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