mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
438b957f9c
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. |
||
---|---|---|
.. | ||
mock-all-001.log | ||
mock-all-002.log | ||
mock-archive-001.log | ||
mock-archive-002.log | ||
mock-archive-stop-001.log | ||
mock-archive-stop-002.log | ||
mock-expire-001.log | ||
mock-expire-002.log | ||
mock-stanza-001.log | ||
mock-stanza-002.log | ||
real-all-001.log | ||
real-all-002.log | ||
real-all-003.log | ||
real-all-004.log | ||
real-all-005.log | ||
real-all-006.log |