Re: Refactoring of compression options in pg_basebackup
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: "David G. Johnston" <david.g.johnston@gmail.com>,
Alvaro Herrera <alvherre@alvh.no-ip.org>, Magnus Hagander <magnus@hagander.net>, Georgios Kokolatos <gkokolatos@pm.me>, Postgres hackers <pgsql-hackers@lists.postgresql.org>, Jeevan Ladhe <jeevan.ladhe@enterprisedb.com>
Date: 2022-01-25T20:14:13Z
Lists: pgsql-hackers
On Sat, Jan 22, 2022 at 12:47 AM Michael Paquier <michael@paquier.xyz> wrote: > Also, having this enum in walmethods.h is perhaps not the best place > either, even more if you plan to use that in pg_basebackup for the > server-side compression. One idea is to rename this enum to > DataCompressionMethod, moving it into a new header, like common.h as > of the attached. Well, we also have CompressionAlgorithm competing for the same job. -- Robert Haas EDB: http://www.enterprisedb.com
Commits
-
Extend the options of pg_basebackup to control compression
- 5c649fe15336 15.0 landed
-
Add TAP tests for pg_basebackup with compression
- 50e144193c77 15.0 landed
-
Refactor tar method of walmethods.c to rely on the compression method
- 000f3adfdc43 15.0 landed