1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/libc
David Steele 438b957f9c Add infrastructure for multiple compression type support.
Add compress-type option and deprecate compress option. Since the compress option is boolean it won't work with multiple compression types. Add logic to cfgLoadUpdateOption() to update compress-type if it is not set directly. The compress option should no longer be referenced outside the cfgLoadUpdateOption() function.

Add common/compress/helper module to contain interface functions that work with multiple compression types. Code outside this module should no longer call specific compression drivers, though it may be OK to reference a specific compression type using the new interface (e.g., saving backup history files in gz format).

Unit tests only test compression using the gz format because other formats may not be available in all builds. It is the job of integration tests to exercise all compression types.

Additional compression types will be added in future commits.
2020-03-06 14:41:03 -05:00
..
build/lib/pgBackRestLibC Remove dependency on LibC hash filter. 2020-03-05 18:34:59 -05:00
xs Remove obsolete methods in pgBackRest::Storage::Storage module. 2020-03-06 14:10:09 -05:00
LibC.h Improve performance of MEM_CONTEXT*() macros. 2020-02-26 21:15:39 -05:00
LibC.xs Remove Perl Db module and LibC dependencies. 2020-03-06 07:21:17 -05:00
Makefile.PL Add infrastructure for multiple compression type support. 2020-03-06 14:41:03 -05:00
typemap Remove Perl Db module and LibC dependencies. 2020-03-06 07:21:17 -05:00