You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-17 01:12:23 +02:00
Remove unused parameter in backupProcess().
Also fix a comment in the same function.
This commit is contained in:
@ -2068,14 +2068,11 @@ backupJobCallback(void *const data, const unsigned int clientIdx)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
backupProcess(
|
backupProcess(const BackupData *const backupData, Manifest *const manifest, const String *const cipherPassBackup)
|
||||||
const BackupData *const backupData, Manifest *const manifest, const String *const lsnStart,
|
|
||||||
const String *const cipherPassBackup)
|
|
||||||
{
|
{
|
||||||
FUNCTION_LOG_BEGIN(logLevelDebug);
|
FUNCTION_LOG_BEGIN(logLevelDebug);
|
||||||
FUNCTION_LOG_PARAM(BACKUP_DATA, backupData);
|
FUNCTION_LOG_PARAM(BACKUP_DATA, backupData);
|
||||||
FUNCTION_LOG_PARAM(MANIFEST, manifest);
|
FUNCTION_LOG_PARAM(MANIFEST, manifest);
|
||||||
FUNCTION_LOG_PARAM(STRING, lsnStart);
|
|
||||||
FUNCTION_TEST_PARAM(STRING, cipherPassBackup);
|
FUNCTION_TEST_PARAM(STRING, cipherPassBackup);
|
||||||
FUNCTION_LOG_END();
|
FUNCTION_LOG_END();
|
||||||
|
|
||||||
@ -2129,7 +2126,7 @@ backupProcess(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If this is a full backup or hard-linked and paths are supported then create all paths explicitly so that empty paths will
|
// If this is a full backup or hard-linked and paths are supported then create all paths explicitly so that empty paths will
|
||||||
// exist in to repo. Also create tablespace symlinks when symlinks are available. This makes it possible for the user to
|
// exist in the repo. Also create tablespace symlinks when symlinks are available. This makes it possible for the user to
|
||||||
// make a copy of the backup path and get a valid cluster.
|
// make a copy of the backup path and get a valid cluster.
|
||||||
if ((backupType == backupTypeFull && !jobData.bundle) || hardLink)
|
if ((backupType == backupTypeFull && !jobData.bundle) || hardLink)
|
||||||
{
|
{
|
||||||
@ -2589,7 +2586,7 @@ cmdBackup(void)
|
|||||||
backupManifestSaveCopy(manifest, cipherPassBackup, false);
|
backupManifestSaveCopy(manifest, cipherPassBackup, false);
|
||||||
|
|
||||||
// Process the backup manifest
|
// Process the backup manifest
|
||||||
backupProcess(backupData, manifest, backupStartResult.lsn, cipherPassBackup);
|
backupProcess(backupData, manifest, cipherPassBackup);
|
||||||
|
|
||||||
// Check that the clusters are alive and correctly configured after the backup
|
// Check that the clusters are alive and correctly configured after the backup
|
||||||
backupDbPing(backupData, true);
|
backupDbPing(backupData, true);
|
||||||
|
Reference in New Issue
Block a user