1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

v2.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]. (Reviewed by Cynthia Shang. Reported by Urs Kramer.)
* 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. (Contributed by Mike Palmiotto.)
* Allow path-style URIs in S3 driver.

Improvements:

* The backup command is implemented entirely in C. (Reviewed by Cynthia Shang.)
This commit is contained in:
David Steele
2020-01-15 13:21:52 -07:00
parent 8d3710b2fe
commit 2c0ba0820d
10 changed files with 1107 additions and 1068 deletions
+12 -184
View File
@@ -27,10 +27,6 @@ build/lib/pgBackRestBuild/Config/Data.pm:
class: build
type: perl
build/lib/pgBackRestBuild/Embed/Build.pm:
class: build
type: perl
build/lib/pgBackRestBuild/Error/Build.pm:
class: build
type: perl
@@ -179,26 +175,14 @@ lib/pgBackRest/Archive/Info.pm:
class: core
type: perl
lib/pgBackRest/Backup/Backup.pm:
class: core
type: perl
lib/pgBackRest/Backup/Common.pm:
class: core
type: perl
lib/pgBackRest/Backup/File.pm:
class: core
type: perl
lib/pgBackRest/Backup/Info.pm:
class: core
type: perl
lib/pgBackRest/Common/Cipher.pm:
class: core
type: perl
lib/pgBackRest/Common/Exception.pm:
class: core
type: perl
@@ -227,14 +211,6 @@ lib/pgBackRest/Common/Io/Handle.pm:
class: core
type: perl
lib/pgBackRest/Common/Io/Process.pm:
class: core
type: perl
lib/pgBackRest/Common/Lock.pm:
class: core
type: perl
lib/pgBackRest/Common/Log.pm:
class: core
type: perl
@@ -271,62 +247,14 @@ lib/pgBackRest/LibCAuto.pm:
class: core/auto
type: perl
lib/pgBackRest/Main.pm:
class: core
type: perl
lib/pgBackRest/Manifest.pm:
class: core
type: perl
lib/pgBackRest/Protocol/Base/Master.pm:
class: core
type: perl
lib/pgBackRest/Protocol/Base/Minion.pm:
class: core
type: perl
lib/pgBackRest/Protocol/Command/Master.pm:
class: core
type: perl
lib/pgBackRest/Protocol/Command/Minion.pm:
class: core
type: perl
lib/pgBackRest/Protocol/Helper.pm:
class: core
type: perl
lib/pgBackRest/Protocol/Local/Master.pm:
class: core
type: perl
lib/pgBackRest/Protocol/Local/Process.pm:
class: core
type: perl
lib/pgBackRest/Protocol/Remote/Master.pm:
class: core
type: perl
lib/pgBackRest/Protocol/Remote/Minion.pm:
class: core
type: perl
lib/pgBackRest/Protocol/Storage/File.pm:
class: core
type: perl
lib/pgBackRest/Protocol/Storage/Helper.pm:
class: core
type: perl
lib/pgBackRest/Protocol/Storage/Remote.pm:
class: core
type: perl
lib/pgBackRest/Storage/Base.pm:
class: core
type: perl
@@ -367,18 +295,6 @@ libc/build/lib/pgBackRestLibC/Build.pm:
class: build
type: perl
libc/xs/common/encode.xs:
class: core
type: xs
libc/xs/common/encode.xsh:
class: core
type: c/h
libc/xs/common/lock.xs:
class: core
type: xs
libc/xs/config/config.xs:
class: core
type: xs
@@ -387,6 +303,10 @@ libc/xs/config/configTest.xs:
class: core
type: xs
libc/xs/config/configTest.xsh:
class: core
type: c/h
libc/xs/config/define.xs:
class: core
type: xs
@@ -399,10 +319,6 @@ libc/xs/crypto/hash.xsh:
class: core
type: c/h
libc/xs/crypto/random.xs:
class: core
type: xs
libc/xs/postgres/client.xs:
class: core
type: xs
@@ -503,6 +419,14 @@ src/command/archive/push/push.h:
class: core
type: c/h
src/command/backup/backup.c:
class: core
type: c
src/command/backup/backup.h:
class: core
type: c/h
src/command/backup/common.c:
class: core
type: c
@@ -1283,30 +1207,6 @@ src/main.c:
class: core
type: c
src/perl/config.c:
class: core
type: c
src/perl/config.h:
class: core
type: c/h
src/perl/embed.auto.c:
class: core/auto
type: c
src/perl/exec.c:
class: core
type: c
src/perl/exec.h:
class: core
type: c/h
src/perl/libc.auto.c:
class: core/auto
type: c
src/postgres/client.c:
class: core
type: c
@@ -1711,54 +1611,6 @@ test/lib/pgBackRestTest/Env/HostEnvTest.pm:
class: test/harness
type: perl
test/lib/pgBackRestTest/Module/Backup/BackupFileUnitPerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Backup/BackupUnitPerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Command/CommandArchiveCommonPerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Common/CommonEncodePerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Common/CommonIniPerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Common/CommonIoBufferedPerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Common/CommonIoHandlePerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Common/CommonIoProcessPerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Common/CommonLogPerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Info/InfoInfoArchivePerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Info/InfoInfoBackupPerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Manifest/ManifestAllPerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Mock/MockAllTest.pm:
class: test/module
type: perl
@@ -1783,26 +1635,10 @@ test/lib/pgBackRestTest/Module/Performance/PerformanceArchivePerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Protocol/ProtocolCommonMinionPerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Protocol/ProtocolHelperPerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Real/RealAllTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Storage/StorageHelperPerlTest.pm:
class: test/module
type: perl
test/lib/pgBackRestTest/Module/Storage/StoragePerlTest.pm:
class: test/module
type: perl
test/src/common/harnessConfig.c:
class: test/harness
type: c
@@ -2123,14 +1959,6 @@ test/src/module/performance/typeTest.c:
class: test/module
type: c
test/src/module/perl/configTest.c:
class: test/module
type: c
test/src/module/perl/execTest.c:
class: test/module
type: c
test/src/module/postgres/clientTest.c:
class: test/module
type: c