[request] LZ4, Zstandard compression support

Please add LZ4/ZSTD compression to the postgres Install- procedure:

now this is missing

--with-lz4
Build with LZ4 compression support.

--with-zstd
Build with Zstandard compression support.

as I see now:

imho : just add a --with-lz4 --with-zstd ( and install the liblz4-dev libzstd-dev it should work with pg14 with a warning …

test :

[neondb] # SET default_toast_compression=lz4;
ERROR:  22023: invalid value for parameter "default_toast_compression": "lz4"
HINT:  Available values: pglz.

[neondb] # select version();
                                              version                                              
---------------------------------------------------------------------------------------------------
 PostgreSQL 15.2 on x86_64-pc-linux-gnu, compiled by gcc (Debian 10.2.1-6) 10.2.1 20210110, 64-bit
(1 row)

// as a new user , I can’t add more links ; sorry …

related links:

Hey @ImreSamu!

Thanks for your request.

I’ve opened a PR that compiles Postgres with these flags: Compile Postgres with lz4 and zstd support by vadim2404 · Pull Request #4023 · neondatabase/neon · GitHub

1 Like

Hey.

These things were shipped.

2 Likes