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 03412d7 commit 9a1e5baCopy full SHA for 9a1e5ba
src/backup.c
@@ -692,7 +692,7 @@ do_backup_instance(void)
692
(void *(*)(void *)) remote_backup_files,
693
arg);
694
}
695
-
+
696
/* Wait threads */
697
for (i = 0; i < num_threads; i++)
698
{
@@ -1930,7 +1930,7 @@ backup_files(void *arg)
1930
1931
pgFile *file = (pgFile *) parray_get(arguments->backup_files_list, i);
1932
elog(VERBOSE, "Copying file: \"%s\" ", file->path);
1933
- if (pg_atomic_test_set_flag(&file->lock))
+ if (!pg_atomic_test_set_flag(&file->lock))
1934
continue;
1935
1936
/* check for interrupt */
0 commit comments