projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28ba260
)
Fix a small logic bug in adjusted parallel restore code.
author
Andrew Dunstan
Tue, 26 Mar 2013 02:52:28 +0000
(22:52 -0400)
committer
Andrew Dunstan
Tue, 26 Mar 2013 02:52:28 +0000
(22:52 -0400)
src/bin/pg_dump/pg_backup_archiver.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/pg_backup_archiver.c
b/src/bin/pg_dump/pg_backup_archiver.c
index 3c2671bb2d5e050de3e90377facd005f2a18f0f9..39b4f8ecca5909e026a6d50c1b54a967db578854 100644
(file)
--- a/
src/bin/pg_dump/pg_backup_archiver.c
+++ b/
src/bin/pg_dump/pg_backup_archiver.c
@@
-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 (;;)
{