We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 728e3d5 commit 53c1a05Copy full SHA for 53c1a05
src/validate.c
@@ -19,8 +19,6 @@ static void *pgBackupValidateFiles(void *arg);
19
static void do_validate_instance(void);
20
21
static bool corrupted_backup_found = false;
22
-/* Program version of a current backup */
23
-static uint32 validate_backup_version = 0;
24
25
typedef struct
26
{
@@ -220,7 +218,7 @@ pgBackupValidateFiles(void *arg)
220
218
* To avoid this problem we need to use different algorithm, CRC-32 in
221
219
* this case.
222
*/
223
- crc = pgFileGetCRC(file->path, validate_backup_version <= 20021);
+ crc = pgFileGetCRC(file->path, arguments->backup_version <= 20021);
224
if (crc != file->crc)
225
226
elog(WARNING, "Invalid CRC of backup file \"%s\" : %X. Expected %X",
0 commit comments