forked from pool/pgbackrest
- update to version 2.26 : Non-blocking TLS
+ Bug Fix : Remove empty subexpression from manifest regular expression. MacOS was not happy about this though other platforms seemed to work fine. + Improvements: - N on-blocking TLS implementation. - Only limit backup copy size for WAL-logged files. The prior behavior could possibly lead to postgresql.conf or postgresql.auto.conf being truncated in the backup. - TCP keep-alive options are configurable. - Add io-timeout option. - update to version 2.25 : LZ4 Compression Support + Features: - Add lz4 compression support. Note that setting compress-type=lz4 will make new backups and archive incompatible (unrestorable) with prior versions of pgBackRest. - Add --dry-run option to the expire command. Use dry-run to see which backups/archive would be removed by the expire command without actually removing anything. + Improvements: - Improve performance of remote manifest build. - Fix detection of keepalive options on Linux. - Add configure host detection to set standards flags correctly. - Remove compress/compress-level options from commands where unused. - Limit backup file copy size to size reported at backup start. If a file grows during the backup it will be reconstructed by WAL replay during recovery so there is no need to copy the additional data. - Packaging: + Add new requirement lz4 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=31
This commit is contained in:
parent
e8335cb986
commit
9c9172f66f
@ -1,6 +1,23 @@
|
|||||||
|
diff -rup a/src/configure b/src/configure
|
||||||
|
--- a/src/configure 2020-04-20 21:44:31.000000000 +0200
|
||||||
|
+++ b/src/configure 2020-05-01 18:04:29.395666444 +0200
|
||||||
|
@@ -3746,11 +3746,11 @@ fi
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
-ac_fn_c_check_header_mongrel "$LINENO" "libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default"
|
||||||
|
+ac_fn_c_check_header_mongrel "$LINENO" "pgsql/libpq-fe.h" "ac_cv_header_libpq_fe_h" "$ac_includes_default"
|
||||||
|
if test "x$ac_cv_header_libpq_fe_h" = xyes; then :
|
||||||
|
|
||||||
|
else
|
||||||
|
- as_fn_error $? "header file <libpq-fe.h> is required" "$LINENO" 5
|
||||||
|
+ as_fn_error $? "header file <pgsql/libpq-fe.h> is required" "$LINENO" 5
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
diff -rup a/src/postgres/client.c b/src/postgres/client.c
|
diff -rup a/src/postgres/client.c b/src/postgres/client.c
|
||||||
--- a/src/postgres/client.c 2020-02-25 23:05:45.000000000 +0100
|
--- a/src/postgres/client.c 2020-04-20 21:44:31.000000000 +0200
|
||||||
+++ b/src/postgres/client.c 2020-03-24 15:30:19.361417162 +0100
|
+++ b/src/postgres/client.c 2020-05-01 18:05:20.732221835 +0200
|
||||||
@@ -3,7 +3,7 @@ Postgres Client
|
@@ -3,7 +3,7 @@ Postgres Client
|
||||||
***********************************************************************************************************************************/
|
***********************************************************************************************************************************/
|
||||||
#include "build.auto.h"
|
#include "build.auto.h"
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5ce1b059dee69039a8cfd0bd707394a88e9320a2519f02c09de45cfe85904fdb
|
|
||||||
size 5290197
|
|
3
pgbackrest-2.26.tar.gz
Normal file
3
pgbackrest-2.26.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f02e934627ea8ed425cea31a6ce57c30d0bb07d6639873983ccb14d7096d49ad
|
||||||
|
size 5354188
|
@ -1,3 +1,38 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 1 16:13:03 UTC 2020 - Bruno Friedmann <bruno@ioda-net.ch>
|
||||||
|
|
||||||
|
- update to version 2.26 : Non-blocking TLS
|
||||||
|
+ Bug Fix : Remove empty subexpression from manifest regular
|
||||||
|
expression. MacOS was not happy about this though other
|
||||||
|
platforms seemed to work fine.
|
||||||
|
+ Improvements:
|
||||||
|
- N on-blocking TLS implementation.
|
||||||
|
- Only limit backup copy size for WAL-logged files. The prior
|
||||||
|
behavior could possibly lead to postgresql.conf or
|
||||||
|
postgresql.auto.conf being truncated in the backup.
|
||||||
|
- TCP keep-alive options are configurable.
|
||||||
|
- Add io-timeout option.
|
||||||
|
- update to version 2.25 : LZ4 Compression Support
|
||||||
|
+ Features:
|
||||||
|
- Add lz4 compression support. Note that setting
|
||||||
|
compress-type=lz4 will make new backups and archive incompatible
|
||||||
|
(unrestorable) with prior versions of pgBackRest.
|
||||||
|
- Add --dry-run option to the expire command. Use dry-run to see
|
||||||
|
which backups/archive would be removed by the expire command
|
||||||
|
without actually removing anything.
|
||||||
|
+ Improvements:
|
||||||
|
- Improve performance of remote manifest build.
|
||||||
|
- Fix detection of keepalive options on Linux.
|
||||||
|
- Add configure host detection to set standards flags correctly.
|
||||||
|
- Remove compress/compress-level options from commands where unused.
|
||||||
|
- Limit backup file copy size to size reported at backup start.
|
||||||
|
If a file grows during the backup it will be reconstructed by
|
||||||
|
WAL replay during recovery so there is no need to copy the
|
||||||
|
additional data.
|
||||||
|
- Packaging:
|
||||||
|
+ Add new requirement lz4
|
||||||
|
+ Redo patch libpq-fe.h_localisation.patch to include configure
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 24 14:34:27 UTC 2020 - Bruno Friedmann <bruno@ioda-net.ch>
|
Tue Mar 24 14:34:27 UTC 2020 - Bruno Friedmann <bruno@ioda-net.ch>
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
%define make_build %{_bindir}/make %{?_smp_mflags}
|
%define make_build %{_bindir}/make %{?_smp_mflags}
|
||||||
%endif
|
%endif
|
||||||
Name: pgbackrest
|
Name: pgbackrest
|
||||||
Version: 2.24
|
Version: 2.26
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Reliable PostgreSQL Backup & Restore
|
Summary: Reliable PostgreSQL Backup & Restore
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -34,6 +34,7 @@ Patch0: libpq-fe.h_localisation.patch
|
|||||||
BuildRequires: openssl-devel
|
BuildRequires: openssl-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(libpq)
|
BuildRequires: pkgconfig(libpq)
|
||||||
|
BuildRequires: pkgconfig(liblz4)
|
||||||
BuildRequires: pkgconfig(libxml-2.0)
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
%if %{_arch} == "i586"
|
%if %{_arch} == "i586"
|
||||||
|
Loading…
Reference in New Issue
Block a user