Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ec143f9

Browse files
committed
Fix a small logic bug in adjusted parallel restore code.
1 parent 28ba260 commit ec143f9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/bin/pg_dump/pg_backup_archiver.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3574,8 +3574,10 @@ restore_toc_entries_parallel(ArchiveHandle *AH, ParallelState *pstate,
35743574
DispatchJobForTocEntry(AH, pstate, next_work_item, ACT_RESTORE);
35753575
}
35763576
else
3577+
{
35773578
/* at least one child is working and we have nothing ready. */
35783579
Assert(!IsEveryWorkerIdle(pstate));
3580+
}
35793581

35803582
for (;;)
35813583
{

0 commit comments

Comments
 (0)