]> 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:28:21 +0000 (22:28 -0400)
commitce530adf8e3a483e48a8d98ebe421b6963aa639c
treef69be39263cb63cb9b670c9ed5981f8cd883f80a
parent2719a7478db67d5ec081daa76691892ced04077f
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