From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | tushar <tushar(dot)ahuja(at)enterprisedb(dot)com> |
Cc: | Jeevan Ladhe <jeevan(dot)ladhe(at)enterprisedb(dot)com>, Dmitry Dolgov <9erthalion6(at)gmail(dot)com>, Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: refactoring basebackup.c |
Date: | 2022-01-04 14:37:44 |
Message-ID: | CA+TgmoZZEyeCQf7y6D5XkaQ7zffHBUbDVfdKnsUc=sL4ptnbfQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Mon, Jan 3, 2022 at 12:12 PM tushar <tushar(dot)ahuja(at)enterprisedb(dot)com> wrote:
> On 11/22/21 11:05 PM, Jeevan Ladhe wrote:
> > Please find the lz4 compression patch here that basically has:
> Please refer to this scenario , where --server-compression is only
> compressing
> base backup into lz4 format but not pg_wal directory
>
> [edb(at)centos7tushar bin]$ ./pg_basebackup -Ft --server-compression=lz4
> -Xstream -D foo
>
> [edb(at)centos7tushar bin]$ ls foo
> backup_manifest base.tar.lz4 pg_wal.tar
>
> this same is valid for gzip as well if server-compression is set to gzip
>
> edb(at)centos7tushar bin]$ ./pg_basebackup -Ft --server-compression=gzip4
> -Xstream -D foo1
>
> [edb(at)centos7tushar bin]$ ls foo1
> backup_manifest base.tar.gz pg_wal.tar
>
> if this scenario is valid then both the folders format should be in lz4
> format otherwise we should
> get an error something like - not a valid option ?
Before sending an email like this, it would be a good idea to read the
documentation for the --server-compression option.
--
Robert Haas
EDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-01-04 15:33:00 | Re: Proposal: remove obsolete hot-standby testing infrastructure |
Previous Message | Joshua Brindle | 2022-01-04 14:35:31 | Re: CREATEROLE and role ownership hierarchies |