Re: Teach pg_receivewal to use lz4 compression

From: gkokolatos(at)pm(dot)me
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Teach pg_receivewal to use lz4 compression
Date: 2021-07-02 07:35:00
Message-ID: J4hpev8z-ElCT_rFLwiDypcSk3fgq9llb0FbEzH74eg7YPVQPSn4KaAi_Rd63ndvY8Bcv-zoo0VOZbfCZSRfOobRazlCLuOl8S7pUC1mRlE=@pm.me
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Friday, July 2nd, 2021 at 03:10, Michael Paquier <michael(at)paquier(dot)xyz> wrote:

> On Thu, Jul 01, 2021 at 02:10:17PM +0000, gkokolatos(at)pm(dot)me wrote:
>
> > Micheal suggested on the same thread to move my entry in the help output so that
> >
> > the output remains ordered. I would like the options for the compression method and
> >
> > the already existing compression level to next to each other if possible. Then it
> >
> > should be either 'X' or 'Y'.
>
> Hmm. Grouping these together makes sense for the user. One choice
>
> that we have here is to drop the short option, and just use a long
>
> one. What I think is important for the user when it comes to this
>
> option is the consistency of its naming across all the tools
>
> supporting it. pg_dump and pg_basebackup, where we could plug LZ4,
>
> already use most of the short options you could use for pg_receivewal,
>
> having only a long one gives a bit more flexibility.

Good point. I am going with that one.

> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ronan Dunklau 2021-07-02 07:53:52 Re: Add proper planner support for ORDER BY / DISTINCT aggregates
Previous Message Peter Smith 2021-07-02 07:29:59 Re: row filtering for logical replication