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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Christoph Berg <myon@debian.org>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2022-01-08T00:16:13Z
Lists: pgsql-hackers
On Fri, Jan 07, 2022 at 03:41:16PM +0100, Christoph Berg wrote:
> since about this commit, pg_wal.tar is no longer compressed at all:

Thanks.  That's a thinko coming from the fact that
Z_DEFAULT_COMPRESSION is -1, combination possible when specifying only
--gzip.  So, fixed.
--
Michael

Commits

  1. Fix thinko coming from 000f3adf

  2. Refactor tar method of walmethods.c to rely on the compression method