1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-03-03 14:52:21 +02:00

v2.13: Bug Fixes

Bug Fixes:

* Fix zero-length reads causing problems for IO filters that did not expect them. (Reported by brunre01, jwpit, Tomasz Kontusz, guruguruguru.)
* Fix reliability of error reporting from local/remote processes.
* Fix Posix/CIFS error messages reporting the wrong filename on write/sync/close.
This commit is contained in:
David Steele 2019-04-18 21:26:02 -04:00
parent 7390952d8e
commit 41f3874822
8 changed files with 639 additions and 617 deletions

View File

@ -4,7 +4,7 @@
pgBackRest aims to be a simple, reliable backup and restore solution that can seamlessly scale up to the largest databases and workloads by utilizing algorithms that are optimized for database-specific requirements.
pgBackRest [v2.12](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.12) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page.
pgBackRest [v2.13](https://github.com/pgbackrest/pgbackrest/releases/tag/release/2.13) is the current stable release. Release notes are on the [Releases](http://www.pgbackrest.org/release.html) page.
Documentation for v1 can be found [here](http://www.pgbackrest.org/1). No further releases are planned for v1 because v2 is backward-compatible with v1 options and repositories.
@ -76,7 +76,7 @@ File and directory links are supported for any file or directory in the PostgreS
### S3-Compatible Object Store Support
pgBackRest repositories can be located in S3-Compatible object stores to allow for virtually unlimited capacity and retention.
pgBackRest repositories can be located in S3-compatible object stores to allow for virtually unlimited capacity and retention.
### Encryption

File diff suppressed because it is too large Load Diff

View File

@ -12,7 +12,7 @@
</intro>
<release-list>
<release date="XXXX-XX-XX" version="2.13dev" title="UNDER DEVELOPMENT">
<release date="2019-04-18" version="2.13" title="Bug Fixes">
<release-core-list>
<release-bug-list>
<release-item>

View File

@ -39,7 +39,7 @@ push @EXPORT, qw(projectBin projectBinSet);
# Defines the current version of the BackRest executable. The version number is used to track features but does not affect what
# repositories or manifests can be read - that's the job of the format number.
#-----------------------------------------------------------------------------------------------------------------------------------
use constant PROJECT_VERSION => '2.13dev';
use constant PROJECT_VERSION => '2.13';
push @EXPORT, qw(PROJECT_VERSION);
# Repository Format Number

View File

@ -19902,7 +19902,7 @@ static const EmbeddedModule embeddedModule[] =
"\n"
"push @EXPORT, qw(projectBin projectBinSet);\n"
"\n\n\n\n\n\n"
"use constant PROJECT_VERSION => '2.13dev';\n"
"use constant PROJECT_VERSION => '2.13';\n"
"push @EXPORT, qw(PROJECT_VERSION);\n"
"\n\n\n\n\n\n"
"use constant REPOSITORY_FORMAT => 5;\n"

View File

@ -23,6 +23,6 @@ repository will be invalid unless migration functions are written.
/***********************************************************************************************************************************
Software version. Currently this value is maintained in Version.pm and updated by test.pl.
***********************************************************************************************************************************/
#define PROJECT_VERSION "2.13dev"
#define PROJECT_VERSION "2.13"
#endif

View File

@ -547,6 +547,14 @@ src/command/archive/push/push.h:
class: core
type: c/h
src/command/backup/common.c:
class: core
type: c
src/command/backup/common.h:
class: core
type: c/h
src/command/command.c:
class: core
type: c
@ -1707,6 +1715,10 @@ test/src/module/command/archivePushTest.c:
class: test/module
type: c
test/src/module/command/backupCommonTest.c:
class: test/module
type: c
test/src/module/command/commandTest.c:
class: test/module
type: c

View File

@ -412,8 +412,10 @@ sub regExpReplaceAll
my $strTimestampRegExp = "[0-9]{4}-[0-1][0-9]-[0-3][0-9] [0-2][0-9]:[0-6][0-9]:[0-6][0-9]";
$strLine = $self->regExpReplace($strLine, 'TS_PATH', "PG\\_[0-9]\\.[0-9]\\_[0-9]{9}");
my $strProjectVersion = PROJECT_VERSION;
$strProjectVersion =~ s/\./\\./g;
$strLine = $self->regExpReplace($strLine, 'VERSION',
"version[\"]{0,1}[ ]{0,1}[\:\=)]{1}[ ]{0,1}[\"]{0,1}" . PROJECT_VERSION, PROJECT_VERSION . '$');
"version[\"]{0,1}[ ]{0,1}[\:\=)]{1}[ ]{0,1}[\"]{0,1}" . $strProjectVersion, $strProjectVersion . '$');
$strLine = $self->regExpReplace($strLine, 'TIMESTAMP', 'timestamp"[ ]{0,1}:[ ]{0,1}[0-9]{10}','[0-9]{10}$');