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)
commit775f1b379e3a282140f60ef65a11d1444dc80ccf
tree9d6a1320d8d85588d927c45096df47e9044d6248
parent3a5b77371522b64feda006a7aed2a0e57bfb2b22
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