1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-09-16 09:06:18 +02:00

Fixed an issue that could cause copying large manifests to fail during restore.

Reported by Craig A. James.
This commit is contained in:
David Steele
2017-11-14 14:48:44 -05:00
parent cf7da546a3
commit 04e55fe71b
9 changed files with 57 additions and 13 deletions

View File

@@ -729,7 +729,7 @@ sub run
$oHostDbMaster->restore(
cfgDefOptionDefault(CFGCMD_RESTORE, CFGOPT_SET), undef, undef, $bDelta, $bForce, $strType, $strTarget,
$bTargetExclusive, $strTargetAction, $strTargetTimeline, $oRecoveryHashRef, $strComment, $iExpectedExitStatus,
$bTestLocal ? ' --db-include=test1' : undef);
($bTestLocal ? ' --db-include=test1' : '') . ' --buffer-size=16384');
$oHostDbMaster->clusterStart();
$oHostDbMaster->sqlSelectOneTest('select message from test', $bTestLocal ? $strNameMessage : $strIncrMessage);