Re: pgsql: Refactor tar method of walmethods.c to rely on the compression m

From: Christoph Berg <myon(at)debian(dot)org>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Refactor tar method of walmethods.c to rely on the compression m
Date: 2022-01-07 14:41:16
Message-ID: YdhRDMLjabtXOnhY@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Re: Michael Paquier
> Refactor tar method of walmethods.c to rely on the compression method

Hi,

since about this commit, pg_wal.tar is no longer compressed at all:

$ pg_basebackup -D foo --format=tar
$ ls -l foo/
-rw------- 1 cbe cbe 137152 7. Jan 15:37 backup_manifest
-rw------- 1 cbe cbe 23606272 7. Jan 15:37 base.tar
-rw------- 1 cbe cbe 16778752 7. Jan 15:37 pg_wal.tar

$ pg_basebackup -D foogz --format=tar --gzip
$ ls -l foogz
-rw------- 1 cbe cbe 137152 7. Jan 15:37 backup_manifest
-rw------- 1 cbe cbe 3073257 7. Jan 15:37 base.tar.gz
-rw------- 1 cbe cbe 16779264 7. Jan 15:37 pg_wal.tar <-- should be pg_wal.tar.gz

Christoph

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2022-01-07 20:54:47 pgsql: Skip install/test of pgcrypto on MSVC when not built with openss
Previous Message Michael Paquier 2022-01-07 07:06:37 pgsql: Fix comment in fe-connect.c about PQping and pg_ctl

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua Brindle 2022-01-07 14:51:41 Re: CREATEROLE and role ownership hierarchies
Previous Message Juan José Santamaría Flecha 2022-01-07 14:41:10 Re: Fix vcregress plpython3 warning