• Tom Lane's avatar
    Actually, all of parallel restore's limitations should be tested earlier. · 6e1f1fee
    Tom Lane authored
    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.
    6e1f1fee
pg_backup_archiver.c 104 KB