mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-06-20 01:17:49 +02:00
The archive-push command is implemented entirely in C.
This new implementation should behave exactly like the old Perl code with the exception of updated log messages. Remove as much of the Perl code as possible without breaking other commands.
This commit is contained in:
@@ -152,7 +152,7 @@ sub archivePush
|
||||
' --config=' . $self->backrestConfig() .
|
||||
' --log-level-console=warn --archive-push-queue-max=' . int(2 * PG_WAL_SIZE_TEST) .
|
||||
' --stanza=' . $self->stanza() .
|
||||
(defined($iExpectedError) && $iExpectedError == ERROR_FILE_READ ? ' --repo1-host=bogus' : '') .
|
||||
(defined($iExpectedError) && $iExpectedError == ERROR_UNKNOWN ? ' --repo1-host=bogus' : '') .
|
||||
($bAsync ? '' : ' --no-archive-async') .
|
||||
" archive-push" . (defined($strSourceFile) ? " ${strSourceFile}" : '') .
|
||||
(defined($strOptionalParam) ? " ${strOptionalParam}" : ''),
|
||||
|
||||
Reference in New Issue
Block a user