Provide for parallel restoration from a custom format archive. Each data and
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 2 Feb 2009 20:07:37 +0000 (20:07 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 2 Feb 2009 20:07:37 +0000 (20:07 +0000)
commit596a47badb61e38c47640ff457970c0d222306fc
tree8de13db84b22a6485d1bf6b289d6827421675f35
parentefa0b99af9e8182643966f925216d116df981bb8
Provide for parallel restoration from a custom format archive. Each data and
post-data step is run in a separate worker child (a thread on Windows, a child
process elsewhere) up to the concurrent number specified by the new pg_restore
command-line --multi-thread | -m switch.

Andrew Dunstan, with some editing by Tom Lane.
doc/src/sgml/ref/pg_restore.sgml
src/bin/pg_dump/pg_backup.h
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_archiver.h
src/bin/pg_dump/pg_backup_custom.c
src/bin/pg_dump/pg_backup_db.c
src/bin/pg_dump/pg_backup_files.c
src/bin/pg_dump/pg_backup_null.c
src/bin/pg_dump/pg_backup_tar.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_restore.c