Accepting request 1102632 from home:amanzini:branches:server:database:postgresql
- update to version 2.47 * Bug Fixes: + Preserve block incremental info in manifest during delta backup + Fix block incremental file names in verify command + Fix spurious automatic delta backup on backup from standby + Skip recovery.signal for PostgreSQL >= 12 when recovery type=none + Fix unique label generation for diff/incr backup + Fix time-based archive expiration when no backups are expired * Improvements: + Improve performance of SFTP storage driver + Add timezone offset to info command date/time output + Centralize error handling for unsupported features * Documentation Improvements: + Clarify preference to install from packages in the user guide OBS-URL: https://build.opensuse.org/request/show/1102632 OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=59
This commit is contained in:
parent
5f47b2ef11
commit
38bc1460ad
@ -1,7 +1,7 @@
|
|||||||
Index: pgbackrest-release-2.46/src/configure
|
Index: pgbackrest-release-2.47/src/configure
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pgbackrest-release-2.46.orig/src/configure
|
--- pgbackrest-release-2.47.orig/src/configure
|
||||||
+++ pgbackrest-release-2.46/src/configure
|
+++ pgbackrest-release-2.47/src/configure
|
||||||
@@ -3603,12 +3603,12 @@ then :
|
@@ -3603,12 +3603,12 @@ then :
|
||||||
printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
|
printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
|
||||||
|
|
||||||
@ -17,10 +17,10 @@ Index: pgbackrest-release-2.46/src/configure
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
Index: pgbackrest-release-2.46/src/postgres/client.c
|
Index: pgbackrest-release-2.47/src/postgres/client.c
|
||||||
===================================================================
|
===================================================================
|
||||||
--- pgbackrest-release-2.46.orig/src/postgres/client.c
|
--- pgbackrest-release-2.47.orig/src/postgres/client.c
|
||||||
+++ pgbackrest-release-2.46/src/postgres/client.c
|
+++ pgbackrest-release-2.47/src/postgres/client.c
|
||||||
@@ -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:d6ba32f08e84bf02cf13faadabc60ba69fe68c3a10b04a2156eaee2b7bb1e245
|
|
||||||
size 6079050
|
|
3
pgbackrest-2.47.tar.gz
Normal file
3
pgbackrest-2.47.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7712c26b41a969cf487abb4a8075f77943fe6d30aba49ab8edb1ac596cd1ee0e
|
||||||
|
size 6093123
|
@ -1,3 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 7 06:11:25 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
|
||||||
|
|
||||||
|
- update to version 2.47
|
||||||
|
* Bug Fixes:
|
||||||
|
+ Preserve block incremental info in manifest during delta backup
|
||||||
|
+ Fix block incremental file names in verify command
|
||||||
|
+ Fix spurious automatic delta backup on backup from standby
|
||||||
|
+ Skip recovery.signal for PostgreSQL >= 12 when recovery type=none
|
||||||
|
+ Fix unique label generation for diff/incr backup
|
||||||
|
+ Fix time-based archive expiration when no backups are expired
|
||||||
|
* Improvements:
|
||||||
|
+ Improve performance of SFTP storage driver
|
||||||
|
+ Add timezone offset to info command date/time output
|
||||||
|
+ Centralize error handling for unsupported features
|
||||||
|
* Documentation Improvements:
|
||||||
|
+ Clarify preference to install from packages in the user guide
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 28 19:30:47 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
|
Sun May 28 19:30:47 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
|
||||||
|
|
||||||
|
@ -19,7 +19,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
|
%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
|
Name: pgbackrest
|
||||||
Version: 2.46
|
Version: 2.47
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Reliable PostgreSQL Backup & Restore
|
Summary: Reliable PostgreSQL Backup & Restore
|
||||||
License: MIT
|
License: MIT
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
diff --color -ur pgbackrest-release-2.46.orig/CODING.md pgbackrest-release-2.46/CODING.md
|
Index: pgbackrest-release-2.47/CODING.md
|
||||||
--- pgbackrest-release-2.46.orig/CODING.md 2023-05-22 10:13:13.000000000 +0200
|
===================================================================
|
||||||
+++ pgbackrest-release-2.46/CODING.md 2023-05-28 21:20:39.162416107 +0200
|
--- pgbackrest-release-2.47.orig/CODING.md
|
||||||
@@ -268,11 +268,11 @@
|
+++ pgbackrest-release-2.47/CODING.md
|
||||||
|
@@ -268,11 +268,11 @@ Continuation characters should be aligne
|
||||||
|
|
||||||
This function can be called without variable parameters:
|
This function can be called without variable parameters:
|
||||||
```c
|
```c
|
||||||
@ -15,10 +16,11 @@ diff --color -ur pgbackrest-release-2.46.orig/CODING.md pgbackrest-release-2.46/
|
|||||||
```
|
```
|
||||||
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.
|
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.
|
||||||
|
|
||||||
diff --color -ur pgbackrest-release-2.46.orig/doc/resource/git-history.cache pgbackrest-release-2.46/doc/resource/git-history.cache
|
Index: pgbackrest-release-2.47/doc/resource/git-history.cache
|
||||||
--- pgbackrest-release-2.46.orig/doc/resource/git-history.cache 2023-05-22 10:13:13.000000000 +0200
|
===================================================================
|
||||||
+++ pgbackrest-release-2.46/doc/resource/git-history.cache 2023-05-28 21:20:02.622040915 +0200
|
--- pgbackrest-release-2.47.orig/doc/resource/git-history.cache
|
||||||
@@ -6567,7 +6567,7 @@
|
+++ pgbackrest-release-2.47/doc/resource/git-history.cache
|
||||||
|
@@ -6792,7 +6792,7 @@
|
||||||
{
|
{
|
||||||
"commit": "a1365b26d4c2383eaacea3714eeb521435ca79aa",
|
"commit": "a1365b26d4c2383eaacea3714eeb521435ca79aa",
|
||||||
"date": "2021-01-18 23:41:09 -0500",
|
"date": "2021-01-18 23:41:09 -0500",
|
||||||
@ -27,7 +29,7 @@ diff --color -ur pgbackrest-release-2.46.orig/doc/resource/git-history.cache pgb
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"commit": "8322dfd7af97e307b952cfb37e6a65b65f55be0f",
|
"commit": "8322dfd7af97e307b952cfb37e6a65b65f55be0f",
|
||||||
@@ -9383,8 +9383,8 @@
|
@@ -9608,8 +9608,8 @@
|
||||||
{
|
{
|
||||||
"commit": "3fbfcba811499a59b943dd893eef9ff52090f7b6",
|
"commit": "3fbfcba811499a59b943dd893eef9ff52090f7b6",
|
||||||
"date": "2020-03-16 17:27:01 -0400",
|
"date": "2020-03-16 17:27:01 -0400",
|
||||||
@ -38,7 +40,7 @@ diff --color -ur pgbackrest-release-2.46.orig/doc/resource/git-history.cache pgb
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"commit": "46911c64c19dc8ff76d2a6ff4548fc01647043e0",
|
"commit": "46911c64c19dc8ff76d2a6ff4548fc01647043e0",
|
||||||
@@ -11284,7 +11284,7 @@
|
@@ -11509,7 +11509,7 @@
|
||||||
"commit": "45881c74aeff4bb25559ec0254fa7fc1960d9cab",
|
"commit": "45881c74aeff4bb25559ec0254fa7fc1960d9cab",
|
||||||
"date": "2019-10-08 12:06:30 -0400",
|
"date": "2019-10-08 12:06:30 -0400",
|
||||||
"subject": "Allow most unit tests to run outside of a container.",
|
"subject": "Allow most unit tests to run outside of a container.",
|
||||||
@ -47,7 +49,7 @@ diff --color -ur pgbackrest-release-2.46.orig/doc/resource/git-history.cache pgb
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"commit": "77b0c6c993a0e6ff45a6a99f343c3709a016d152",
|
"commit": "77b0c6c993a0e6ff45a6a99f343c3709a016d152",
|
||||||
@@ -19771,7 +19771,7 @@
|
@@ -19996,7 +19996,7 @@
|
||||||
"commit": "18fd25233b1db7b3197f5d8dc537d239dcfc7aba",
|
"commit": "18fd25233b1db7b3197f5d8dc537d239dcfc7aba",
|
||||||
"date": "2016-04-14 09:30:54 -0400",
|
"date": "2016-04-14 09:30:54 -0400",
|
||||||
"subject": "New simpler configuration and consistent project/exe/path naming.",
|
"subject": "New simpler configuration and consistent project/exe/path naming.",
|
||||||
@ -56,10 +58,11 @@ diff --color -ur pgbackrest-release-2.46.orig/doc/resource/git-history.cache pgb
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"commit": "885797e4b58a675487a3531ba16908c1d1e9f970",
|
"commit": "885797e4b58a675487a3531ba16908c1d1e9f970",
|
||||||
diff --color -ur pgbackrest-release-2.46.orig/doc/xml/coding.xml pgbackrest-release-2.46/doc/xml/coding.xml
|
Index: pgbackrest-release-2.47/doc/xml/coding.xml
|
||||||
--- pgbackrest-release-2.46.orig/doc/xml/coding.xml 2023-05-22 10:13:13.000000000 +0200
|
===================================================================
|
||||||
+++ pgbackrest-release-2.46/doc/xml/coding.xml 2023-05-28 21:18:27.561053697 +0200
|
--- pgbackrest-release-2.47.orig/doc/xml/coding.xml
|
||||||
@@ -365,13 +365,13 @@
|
+++ pgbackrest-release-2.47/doc/xml/coding.xml
|
||||||
|
@@ -365,13 +365,13 @@ void storagePathCreate(const Storage *th
|
||||||
<p>This function can be called without variable parameters:</p>
|
<p>This function can be called without variable parameters:</p>
|
||||||
|
|
||||||
<code-block type="c">
|
<code-block type="c">
|
||||||
@ -75,10 +78,11 @@ diff --color -ur pgbackrest-release-2.46.orig/doc/xml/coding.xml pgbackrest-rele
|
|||||||
</code-block>
|
</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>
|
<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>
|
||||||
diff --color -ur pgbackrest-release-2.46.orig/doc/xml/release.xml pgbackrest-release-2.46/doc/xml/release.xml
|
Index: pgbackrest-release-2.47/doc/xml/release.xml
|
||||||
--- pgbackrest-release-2.46.orig/doc/xml/release.xml 2023-05-22 10:13:13.000000000 +0200
|
===================================================================
|
||||||
+++ pgbackrest-release-2.46/doc/xml/release.xml 2023-05-28 21:19:14.985551780 +0200
|
--- pgbackrest-release-2.47.orig/doc/xml/release.xml
|
||||||
@@ -11136,7 +11136,7 @@
|
+++ pgbackrest-release-2.47/doc/xml/release.xml
|
||||||
|
@@ -11285,7 +11285,7 @@
|
||||||
<release-item-contributor id="david.steele"/>
|
<release-item-contributor id="david.steele"/>
|
||||||
</release-item-contributor-list> -->
|
</release-item-contributor-list> -->
|
||||||
|
|
||||||
@ -87,11 +91,11 @@ diff --color -ur pgbackrest-release-2.46.orig/doc/xml/release.xml pgbackrest-rel
|
|||||||
</release-item>
|
</release-item>
|
||||||
|
|
||||||
<release-item>
|
<release-item>
|
||||||
Only in pgbackrest-release-2.46.orig/: patches
|
Index: pgbackrest-release-2.47/src/build/config/config.yaml
|
||||||
diff --color -ur pgbackrest-release-2.46.orig/src/build/config/config.yaml pgbackrest-release-2.46/src/build/config/config.yaml
|
===================================================================
|
||||||
--- pgbackrest-release-2.46.orig/src/build/config/config.yaml 2023-05-22 10:13:13.000000000 +0200
|
--- pgbackrest-release-2.47.orig/src/build/config/config.yaml
|
||||||
+++ pgbackrest-release-2.46/src/build/config/config.yaml 2023-05-28 21:21:14.126750421 +0200
|
+++ pgbackrest-release-2.47/src/build/config/config.yaml
|
||||||
@@ -834,7 +834,7 @@
|
@@ -834,7 +834,7 @@ option:
|
||||||
lock-path:
|
lock-path:
|
||||||
section: global
|
section: global
|
||||||
type: path
|
type: path
|
||||||
@ -100,10 +104,11 @@ diff --color -ur pgbackrest-release-2.46.orig/src/build/config/config.yaml pgbac
|
|||||||
command:
|
command:
|
||||||
annotate: {}
|
annotate: {}
|
||||||
archive-get: {}
|
archive-get: {}
|
||||||
diff --color -ur pgbackrest-release-2.46.orig/src/config/parse.auto.c.inc pgbackrest-release-2.46/src/config/parse.auto.c.inc
|
Index: pgbackrest-release-2.47/src/config/parse.auto.c.inc
|
||||||
--- pgbackrest-release-2.46.orig/src/config/parse.auto.c.inc 2023-05-22 10:13:13.000000000 +0200
|
===================================================================
|
||||||
+++ pgbackrest-release-2.46/src/config/parse.auto.c.inc 2023-05-28 21:22:00.283175880 +0200
|
--- pgbackrest-release-2.47.orig/src/config/parse.auto.c.inc
|
||||||
@@ -11,7 +11,7 @@
|
+++ pgbackrest-release-2.47/src/config/parse.auto.c.inc
|
||||||
|
@@ -11,7 +11,7 @@ Rule Strings
|
||||||
|
|
||||||
static const StringPub parseRuleValueStr[] =
|
static const StringPub parseRuleValueStr[] =
|
||||||
{
|
{
|
||||||
@ -112,10 +117,11 @@ diff --color -ur pgbackrest-release-2.46.orig/src/config/parse.auto.c.inc pgback
|
|||||||
PARSE_RULE_STRPUB("/var/lib/pgbackrest"), // val/str
|
PARSE_RULE_STRPUB("/var/lib/pgbackrest"), // val/str
|
||||||
PARSE_RULE_STRPUB("/var/log/pgbackrest"), // val/str
|
PARSE_RULE_STRPUB("/var/log/pgbackrest"), // val/str
|
||||||
PARSE_RULE_STRPUB("/var/spool/pgbackrest"), // val/str
|
PARSE_RULE_STRPUB("/var/spool/pgbackrest"), // val/str
|
||||||
diff --color -ur pgbackrest-release-2.46.orig/test/ci.pl pgbackrest-release-2.46/test/ci.pl
|
Index: pgbackrest-release-2.47/test/ci.pl
|
||||||
--- pgbackrest-release-2.46.orig/test/ci.pl 2023-05-22 10:13:13.000000000 +0200
|
===================================================================
|
||||||
+++ pgbackrest-release-2.46/test/ci.pl 2023-05-28 21:12:52.581888810 +0200
|
--- pgbackrest-release-2.47.orig/test/ci.pl
|
||||||
@@ -208,8 +208,8 @@
|
+++ pgbackrest-release-2.47/test/ci.pl
|
||||||
|
@@ -202,8 +202,8 @@ eval
|
||||||
$strPackage .= " libdbd-pg-perl";
|
$strPackage .= " libdbd-pg-perl";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -126,10 +132,11 @@ diff --color -ur pgbackrest-release-2.46.orig/test/ci.pl pgbackrest-release-2.46
|
|||||||
processEnd();
|
processEnd();
|
||||||
|
|
||||||
processBegin('install test packages');
|
processBegin('install test packages');
|
||||||
diff --color -ur pgbackrest-release-2.46.orig/test/src/module/command/helpTest.c pgbackrest-release-2.46/test/src/module/command/helpTest.c
|
Index: pgbackrest-release-2.47/test/src/module/command/helpTest.c
|
||||||
--- pgbackrest-release-2.46.orig/test/src/module/command/helpTest.c 2023-05-22 10:13:13.000000000 +0200
|
===================================================================
|
||||||
+++ pgbackrest-release-2.46/test/src/module/command/helpTest.c 2023-05-28 21:20:59.282613590 +0200
|
--- pgbackrest-release-2.47.orig/test/src/module/command/helpTest.c
|
||||||
@@ -244,7 +244,7 @@
|
+++ pgbackrest-release-2.47/test/src/module/command/helpTest.c
|
||||||
|
@@ -244,7 +244,7 @@ testRun(void)
|
||||||
" [default=n]\n"
|
" [default=n]\n"
|
||||||
" --io-timeout I/O timeout [default=60]\n"
|
" --io-timeout I/O timeout [default=60]\n"
|
||||||
" --lock-path path where lock files are stored\n"
|
" --lock-path path where lock files are stored\n"
|
||||||
@ -138,10 +145,11 @@ diff --color -ur pgbackrest-release-2.46.orig/test/src/module/command/helpTest.c
|
|||||||
" --neutral-umask use a neutral umask [default=y]\n"
|
" --neutral-umask use a neutral umask [default=y]\n"
|
||||||
" --process-max max processes to use for\n"
|
" --process-max max processes to use for\n"
|
||||||
" compress/transfer [default=1]\n"
|
" compress/transfer [default=1]\n"
|
||||||
diff --color -ur pgbackrest-release-2.46.orig/test/Vagrantfile pgbackrest-release-2.46/test/Vagrantfile
|
Index: pgbackrest-release-2.47/test/Vagrantfile
|
||||||
--- pgbackrest-release-2.46.orig/test/Vagrantfile 2023-05-22 10:13:13.000000000 +0200
|
===================================================================
|
||||||
+++ pgbackrest-release-2.46/test/Vagrantfile 2023-05-28 21:15:25.519182880 +0200
|
--- pgbackrest-release-2.47.orig/test/Vagrantfile
|
||||||
@@ -54,12 +54,12 @@
|
+++ pgbackrest-release-2.47/test/Vagrantfile
|
||||||
|
@@ -54,12 +54,12 @@ Vagrant.configure(2) do |config|
|
||||||
sudo /etc/init.d/virtualbox-guest-utils stop
|
sudo /etc/init.d/virtualbox-guest-utils stop
|
||||||
sudo /usr/sbin/VBoxService --timesync-set-on-restore --timesync-interval 5000 --timesync-set-threshold 1
|
sudo /usr/sbin/VBoxService --timesync-set-on-restore --timesync-interval 5000 --timesync-set-threshold 1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user