SHA256
1
0
forked from pool/pgbackrest

Accepting request 1063363 from home:amanzini:branches:server:database:postgresql

- update to version 2.44
  + Remove support for PostgreSQL 9.0/9.1/9.2. 
  + Restore errors when no backup matches the current version of PostgreSQL. 
  + Add compress-level range checking for each compress-type. 
  + Documentation improvements

OBS-URL: https://build.opensuse.org/request/show/1063363
OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=53
This commit is contained in:
Bruno Friedmann 2023-02-07 08:01:23 +00:00 committed by Git OBS Bridge
parent ebbb00b091
commit bda05d883d
6 changed files with 50 additions and 41 deletions

View File

@ -1,7 +1,7 @@
Index: pgbackrest-release-2.43/src/configure
Index: pgbackrest-release-2.44/src/configure
===================================================================
--- pgbackrest-release-2.43.orig/src/configure
+++ pgbackrest-release-2.43/src/configure
--- pgbackrest-release-2.44.orig/src/configure
+++ pgbackrest-release-2.44/src/configure
@@ -3603,12 +3603,12 @@ then :
printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
@ -17,10 +17,10 @@ Index: pgbackrest-release-2.43/src/configure
fi
Index: pgbackrest-release-2.43/src/postgres/client.c
Index: pgbackrest-release-2.44/src/postgres/client.c
===================================================================
--- pgbackrest-release-2.43.orig/src/postgres/client.c
+++ pgbackrest-release-2.43/src/postgres/client.c
--- pgbackrest-release-2.44.orig/src/postgres/client.c
+++ pgbackrest-release-2.44/src/postgres/client.c
@@ -3,7 +3,7 @@ Postgres Client
***********************************************************************************************************************************/
#include "build.auto.h"

View File

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

3
pgbackrest-2.44.tar.gz Normal file
View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Feb 6 07:53:56 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
- update to version 2.44
+ Remove support for PostgreSQL 9.0/9.1/9.2.
+ Restore errors when no backup matches the current version of PostgreSQL.
+ Add compress-level range checking for each compress-type.
+ Documentation improvements
-------------------------------------------------------------------
Tue Dec 6 16:32:27 UTC 2022 - Andrea Manzini <andrea.manzini@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package pgbackrest
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2019-2022 Ioda-Net Sàrl, Charmoille, Switzerland.
#
# All modifications and additions to the file contributed by third parties
@ -20,7 +20,7 @@
%define services pgbackrest.target pgbackrest-diff@.service pgbackrest-full@.service pgbackrest-incr@.service pgbackrest.service pgbackrest-diff@.timer pgbackrest-full@.timer pgbackrest-incr@.timer
Name: pgbackrest
Version: 2.43
Version: 2.44
Release: 0
Summary: Reliable PostgreSQL Backup & Restore
License: MIT

View File

@ -1,7 +1,7 @@
Index: pgbackrest-release-2.43/CODING.md
Index: pgbackrest-release-2.44/CODING.md
===================================================================
--- pgbackrest-release-2.43.orig/CODING.md
+++ pgbackrest-release-2.43/CODING.md
--- pgbackrest-release-2.44.orig/CODING.md
+++ pgbackrest-release-2.44/CODING.md
@@ -260,11 +260,11 @@ Continuation characters should be aligne
This function can be called without variable parameters:
@ -16,11 +16,11 @@ Index: pgbackrest-release-2.43/CODING.md
```
If the majority of functions in a module or object are variadic it is best to provide macros for all functions even if they do not have variable parameters. Do not use the base function when variadic macros exist.
Index: pgbackrest-release-2.43/doc/resource/git-history.cache
Index: pgbackrest-release-2.44/doc/resource/git-history.cache
===================================================================
--- pgbackrest-release-2.43.orig/doc/resource/git-history.cache
+++ pgbackrest-release-2.43/doc/resource/git-history.cache
@@ -5580,7 +5580,7 @@
--- pgbackrest-release-2.44.orig/doc/resource/git-history.cache
+++ pgbackrest-release-2.44/doc/resource/git-history.cache
@@ -6013,7 +6013,7 @@
{
"commit": "a1365b26d4c2383eaacea3714eeb521435ca79aa",
"date": "2021-01-18 23:41:09 -0500",
@ -29,7 +29,7 @@ Index: pgbackrest-release-2.43/doc/resource/git-history.cache
},
{
"commit": "8322dfd7af97e307b952cfb37e6a65b65f55be0f",
@@ -8396,8 +8396,8 @@
@@ -8829,8 +8829,8 @@
{
"commit": "3fbfcba811499a59b943dd893eef9ff52090f7b6",
"date": "2020-03-16 17:27:01 -0400",
@ -40,7 +40,7 @@ Index: pgbackrest-release-2.43/doc/resource/git-history.cache
},
{
"commit": "46911c64c19dc8ff76d2a6ff4548fc01647043e0",
@@ -10297,7 +10297,7 @@
@@ -10730,7 +10730,7 @@
"commit": "45881c74aeff4bb25559ec0254fa7fc1960d9cab",
"date": "2019-10-08 12:06:30 -0400",
"subject": "Allow most unit tests to run outside of a container.",
@ -49,7 +49,7 @@ Index: pgbackrest-release-2.43/doc/resource/git-history.cache
},
{
"commit": "77b0c6c993a0e6ff45a6a99f343c3709a016d152",
@@ -18784,7 +18784,7 @@
@@ -19217,7 +19217,7 @@
"commit": "18fd25233b1db7b3197f5d8dc537d239dcfc7aba",
"date": "2016-04-14 09:30:54 -0400",
"subject": "New simpler configuration and consistent project/exe/path naming.",
@ -58,10 +58,10 @@ Index: pgbackrest-release-2.43/doc/resource/git-history.cache
},
{
"commit": "885797e4b58a675487a3531ba16908c1d1e9f970",
Index: pgbackrest-release-2.43/doc/xml/coding.xml
Index: pgbackrest-release-2.44/doc/xml/coding.xml
===================================================================
--- pgbackrest-release-2.43.orig/doc/xml/coding.xml
+++ pgbackrest-release-2.43/doc/xml/coding.xml
--- pgbackrest-release-2.44.orig/doc/xml/coding.xml
+++ pgbackrest-release-2.44/doc/xml/coding.xml
@@ -351,13 +351,13 @@ void storagePathCreate(const Storage *th
<p>This function can be called without variable parameters:</p>
@ -78,11 +78,11 @@ Index: pgbackrest-release-2.43/doc/xml/coding.xml
</code-block>
<p>If the majority of functions in a module or object are variadic it is best to provide macros for all functions even if they do not have variable parameters. Do not use the base function when variadic macros exist.</p>
Index: pgbackrest-release-2.43/doc/xml/release.xml
Index: pgbackrest-release-2.44/doc/xml/release.xml
===================================================================
--- pgbackrest-release-2.43.orig/doc/xml/release.xml
+++ pgbackrest-release-2.43/doc/xml/release.xml
@@ -10716,7 +10716,7 @@
--- pgbackrest-release-2.44.orig/doc/xml/release.xml
+++ pgbackrest-release-2.44/doc/xml/release.xml
@@ -10902,7 +10902,7 @@
<release-item-contributor id="david.steele"/>
</release-item-contributor-list> -->
@ -91,11 +91,11 @@ Index: pgbackrest-release-2.43/doc/xml/release.xml
</release-item>
<release-item>
Index: pgbackrest-release-2.43/src/build/config/config.yaml
Index: pgbackrest-release-2.44/src/build/config/config.yaml
===================================================================
--- pgbackrest-release-2.43.orig/src/build/config/config.yaml
+++ pgbackrest-release-2.43/src/build/config/config.yaml
@@ -802,7 +802,7 @@ option:
--- pgbackrest-release-2.44.orig/src/build/config/config.yaml
+++ pgbackrest-release-2.44/src/build/config/config.yaml
@@ -801,7 +801,7 @@ option:
lock-path:
section: global
type: path
@ -104,10 +104,10 @@ Index: pgbackrest-release-2.43/src/build/config/config.yaml
command:
annotate: {}
archive-get: {}
Index: pgbackrest-release-2.43/test/Vagrantfile
Index: pgbackrest-release-2.44/test/Vagrantfile
===================================================================
--- pgbackrest-release-2.43.orig/test/Vagrantfile
+++ pgbackrest-release-2.43/test/Vagrantfile
--- pgbackrest-release-2.44.orig/test/Vagrantfile
+++ pgbackrest-release-2.44/test/Vagrantfile
@@ -54,12 +54,12 @@ Vagrant.configure(2) do |config|
sudo /etc/init.d/virtualbox-guest-utils stop
sudo /usr/sbin/VBoxService --timesync-set-on-restore --timesync-interval 5000 --timesync-set-threshold 1
@ -126,10 +126,10 @@ Index: pgbackrest-release-2.43/test/Vagrantfile
# Mount tmpfs at /home/vagrant/test for faster testing
#-----------------------------------------------------------------------------------------------------------------------
Index: pgbackrest-release-2.43/test/ci.pl
Index: pgbackrest-release-2.44/test/ci.pl
===================================================================
--- pgbackrest-release-2.43.orig/test/ci.pl
+++ pgbackrest-release-2.43/test/ci.pl
--- pgbackrest-release-2.44.orig/test/ci.pl
+++ pgbackrest-release-2.44/test/ci.pl
@@ -207,8 +207,8 @@ eval
$strPackage .= " libdbd-pg-perl";
}
@ -141,10 +141,10 @@ Index: pgbackrest-release-2.43/test/ci.pl
processEnd();
processBegin('install test packages');
Index: pgbackrest-release-2.43/test/src/module/command/helpTest.c
Index: pgbackrest-release-2.44/test/src/module/command/helpTest.c
===================================================================
--- pgbackrest-release-2.43.orig/test/src/module/command/helpTest.c
+++ pgbackrest-release-2.43/test/src/module/command/helpTest.c
--- pgbackrest-release-2.44.orig/test/src/module/command/helpTest.c
+++ pgbackrest-release-2.44/test/src/module/command/helpTest.c
@@ -236,7 +236,7 @@ testRun(void)
" [default=n]\n"
" --io-timeout I/O timeout [default=60]\n"