1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Add lz4 compression support.

LZ4 compresses data faster than gzip but at a lower ratio.  This can be a good tradeoff in certain scenarios.

Note that setting compress-type=lz4 will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest.
This commit is contained in:
David Steele
2020-03-10 14:45:27 -04:00
parent cc9d7315db
commit c279a00279
38 changed files with 829 additions and 53 deletions
+11
View File
@@ -0,0 +1,11 @@
--- pgbackrest.spec
+++ pgbackrest.spec
@@ -9,7 +9,7 @@
Source0: https://github.com/pgbackrest/pgbackrest/archive/release/%{version}.tar.gz
Source1: pgbackrest-conf.patch
Patch0: pgbackrest-libxmlinclude.patch
-BuildRequires: openssl-devel zlib-devel postgresql%{pgmajorversion}-devel
+BuildRequires: openssl-devel zlib-devel postgresql%{pgmajorversion}-devel lz4-devel
Requires: postgresql-libs