mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Fix a small logic bug in adjusted parallel restore code.
This commit is contained in:
@ -3574,8 +3574,10 @@ restore_toc_entries_parallel(ArchiveHandle *AH, ParallelState *pstate,
|
||||
DispatchJobForTocEntry(AH, pstate, next_work_item, ACT_RESTORE);
|
||||
}
|
||||
else
|
||||
{
|
||||
/* at least one child is working and we have nothing ready. */
|
||||
Assert(!IsEveryWorkerIdle(pstate));
|
||||
}
|
||||
|
||||
for (;;)
|
||||
{
|
||||
|
Reference in New Issue
Block a user