diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-02-18 13:11:45 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-02-18 13:11:45 -0500 |
commit | 4cff100d7378b65ded116c5a9960584c351e5fa9 (patch) | |
tree | 6ba23fcf7c2918572f9fb95e2303fab0e83e644b /src/backend/nodes/copyfuncs.c | |
parent | 472f608e436a41865b795c999bda3369725fa097 (diff) | |
download | postgresql-4cff100d7378b65ded116c5a9960584c351e5fa9.tar.gz postgresql-4cff100d7378b65ded116c5a9960584c351e5fa9.zip |
Fix parallel pg_restore to handle comments on POST_DATA items correctly.
The previous coding would try to process all SECTION_NONE items in the
initial sequential-restore pass, which failed if they were dependencies of
not-yet-restored items. Fix by postponing such items into the parallel
processing pass once we have skipped any non-PRE_DATA item.
Back-patch into 9.0; the original parallel-restore coding in 8.4 did not
have this bug, so no need to change it.
Report and diagnosis by Arnd Hannemann.
Diffstat (limited to 'src/backend/nodes/copyfuncs.c')
0 files changed, 0 insertions, 0 deletions