]> granicus.if.org Git - postgresql/commit
Actually, all of parallel restore's limitations should be tested earlier.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Aug 2011 02:27:48 +0000 (22:27 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 29 Aug 2011 02:27:48 +0000 (22:27 -0400)
commit6e1f1fee97839599cf59f37f7051786a09f3b240
tree7866682ea76adfc31f15cf56c04da3ed43fdccf6
parentd6e7abe45a64378113c1c717a831b7aac9c451df
Actually, all of parallel restore's limitations should be tested earlier.

On closer inspection, whining in restore_toc_entries_parallel is really
much too late for any user-facing error case.  The right place to do it
is at the start of RestoreArchive(), before we've done anything interesting
(suh as trying to DROP all the targets ...)

Back-patch to 8.4, where parallel restore was introduced.
src/bin/pg_dump/pg_backup_archiver.c