pgbackrest.git / summary / log / commit / refs

commit    306fdff93a072c72d6a40aab728ceeb44cc7b23f
Author:   David Steele <david@pgmasters.net>
Date:     Thu Oct 19 14:11:27 2023 +0000

    Remove unused parameter in backupProcess().
    
    Also fix a comment in the same function.


src/command/backup/backup.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/command/backup/backup.c b/src/command/backup/backup.c index c0c6d88dd..bdb382815 100644 --- a/src/command/backup/backup.c +++ b/src/command/backup/backup.c @@ -2068,14 +2068,11 @@ backupJobCallback(void *const data, const unsigned int clientIdx) } static void -backupProcess( - const BackupData *const backupData, Manifest *const manifest, const String *const lsnStart, - const String *const cipherPassBackup) +backupProcess(const BackupData *const backupData, Manifest *const manifest, const String *const cipherPassBackup) { FUNCTION_LOG_BEGIN(logLevelDebug); FUNCTION_LOG_PARAM(BACKUP_DATA, backupData); FUNCTION_LOG_PARAM(MANIFEST, manifest); - FUNCTION_LOG_PARAM(STRING, lsnStart); FUNCTION_TEST_PARAM(STRING, cipherPassBackup); 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 - // 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. if ((backupType == backupTypeFull && !jobData.bundle) || hardLink) { @@ -2589,7 +2586,7 @@ cmdBackup(void) backupManifestSaveCopy(manifest, cipherPassBackup, false); // 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 backupDbPing(backupData, true); [parent: 04d92cca7eb4]