Re: Teach pg_receivewal to use lz4 compression
gkokolatos@pm.me
From: gkokolatos@pm.me
To: Michael Paquier <michael@paquier.xyz>
Cc: Magnus Hagander <magnus@hagander.net>,
Dilip Kumar <dilipbalaut@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-11-02T11:36:49Z
Lists: pgsql-hackers
Attachments
- v8-0001-Teach-pg_receivewal-to-use-LZ4-compression.patch (text/x-patch) patch v8-0001
- v8-0002-Teach-pg_receivewal-to-use-LZ4-compression.patch (text/x-patch) patch v8-0002
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Tuesday, November 2nd, 2021 at 9:51 AM, Michael Paquier <michael@paquier.xyz> wrote: > On Tue, Nov 02, 2021 at 07:27:50AM +0900, Michael Paquier wrote: > > On Mon, Nov 01, 2021 at 08:39:59AM +0000, gkokolatos@pm.me wrote: > > > Agreed. > > > > > > I have already started on v8 of the patch with that technique. I should > > > be able to update the thread soon. > > > > Nice, thanks! > A pleasure. Please find it in the attached v8-0002 patch. > By the way, I was reading the last version of the patch today, and > it seems to me that we could make the commit history if we split the > patch into two parts: > - One that introduces the new option --compression-method and > is_xlogfilename(), while reworking --compress (including documentation > changes). > - One to have LZ4 support. Agreed. > > v7 has been using "gzip" for the option name, but I think that it > would be more consistent to use "zlib" instead. Done. Cheers, //Georgios > -- > Michael
Commits
-
Fix header inclusion order in pg_receivewal.c
- f512efb2d50a 15.0 landed
-
Remove useless LZ4 system call on failure when writing file header
- f79962d8264b 15.0 landed
-
Add support for LZ4 compression in pg_receivewal
- babbbb595d23 15.0 landed
-
Rework compression options of pg_receivewal
- d62bcc8b07f9 15.0 landed
-
Clarify some errors in pg_receivewal when closing WAL segments
- cddcf7842c31 15.0 landed