Accepting request 766771 from home:bruno_friedmann:branches:server:database:postgresql

- update to 2.22 : Bugfix
- update to 2.21 : C Migration Complete
- update to 2.20 : Bug fixes
- Update and cleanup spec
  + Remove all uneeded Perl related part
  + Update copyright

OBS-URL: https://build.opensuse.org/request/show/766771
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=28
This commit is contained in:
Bruno Friedmann 2020-01-24 09:39:02 +00:00 committed by Git OBS Bridge
parent 2e0ef50993
commit dddf384625
4 changed files with 53 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a9d9d7619406a9effe0fe884c5fad21b65b4aca165b9d867afb48e3a182ee8ad
size 5342581

3
2.22.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f5b4288b26bbe13da417a2ca18269f1aed12b75b19a03dc67f1cd7abb327c15
size 5274862

View File

@ -1,3 +1,50 @@
-------------------------------------------------------------------
Thu Jan 23 14:26:33 UTC 2020 - Bruno Friedmann <bruno@ioda-net.ch>
- update to 2.22 : Bugfix
+ Fix error in timeline conversion. The timeline is required to
verify WAL segments in the archive after a backup. The conversion
was performed base 10 instead of 16, which led to errors when the
timeline was ≥ 0xA.
- update to 2.21 : C Migration Complete
+ Bug Fixes
- Fix options being ignored by asynchronous commands. The
asynchronous archive-get/archive-push processes were not
loading options configured in command configuration sections,
e.g. [global:archive-get].
- Fix handling of \ in filenames. \ was not being properly
escaped when calculating the manifest checksum which prevented
the manifest from loading. Since instances of \ in cluster
filenames should be rare to nonexistent this does not seem
likely to be a serious problem in the field.
+ Features:
- pgBackRest is now pure C.
- Add pg-user option. Specifies the database user name when
connecting to PostgreSQL. If not specified pgBackRest will
connect with the local OS user or PGUSER, which was the previous
behavior.
- Allow path-style URIs in S3 driver.
+ Improvements:
- The backup command is implemented entirely in C.
- update to 2.20 : Bug fixes
+ Fix archive-push/archive-get when PGDATA is symlinked. These
commands tried to use cwd() as PGDATA but this would disagree
with the path configured in pgBackRest if PGDATA was symlinked.
If cwd() does not match the pgBackRest path then chdir() to the
path and make sure the next cwd() matches the result from the
first call.
+ Fix reference list when backup.info is reconstructed in expire
command. Since the backup command is still using the Perl version
of reconstruct this issue will not express unless 1) there is a
backup missing from backup.info and 2) the expire command is run
directly instead of running after backup as usual. This unlikely
combination of events means this is probably not a problem in the
field.
+ Fix segfault on unexpected EOF in gzip decompression.
- Update and cleanup spec
+ Remove all uneeded Perl related part
+ Update copyright
-------------------------------------------------------------------
Wed Dec 4 13:47:03 UTC 2019 - Bruno Friedmann <bruno@ioda-net.ch>

View File

@ -1,8 +1,8 @@
#
# spec file for package pgbackrest
#
# Copyright (c) 2019 SUSE LLC
# Copyright (c) 2019 Ioda-Net Sàrl, Charmoille, Switzerland.
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2019-2020 Ioda-Net Sàrl, Charmoille, Switzerland.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -22,7 +22,7 @@
%define make_build %{_bindir}/make %{?_smp_mflags}
%endif
Name: pgbackrest
Version: 2.19
Version: 2.22
Release: 0
Summary: Reliable PostgreSQL Backup & Restore
License: MIT
@ -33,19 +33,8 @@ Source1: pgbackrest-conf.patch
Patch0: libpq-fe.h_localisation.patch
BuildRequires: libxml2-devel
BuildRequires: openssl-devel
BuildRequires: perl
BuildRequires: perl-libxml-perl
BuildRequires: pkgconfig
BuildRequires: perl(DBD::Pg)
BuildRequires: perl(Digest::SHA)
BuildRequires: perl(IO::Socket::SSL)
BuildRequires: perl(JSON::PP)
BuildRequires: pkgconfig(libpq)
Requires: perl-libxml-perl
Requires: perl(DBD::Pg)
Requires: perl(Digest::SHA)
Requires: perl(IO::Socket::SSL)
Requires: perl(JSON::PP)
%{perl_requires}
%if %{_arch} == "i586"
ExclusiveArch: do_not_build