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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy