Thread: pgsql: Allow parallel copy/link in pg_upgrade

pgsql: Allow parallel copy/link in pg_upgrade

From
Bruce Momjian
Date:
Allow parallel copy/link in pg_upgrade

This patch implements parallel copying/linking of files by tablespace
using the --jobs option in pg_upgrade.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/a89c46f9bc314ed549245d888da09b8c5cace104

Modified Files
--------------
contrib/pg_upgrade/check.c       |    8 +-
contrib/pg_upgrade/info.c        |   21 ++++--
contrib/pg_upgrade/parallel.c    |  147 ++++++++++++++++++++++++++++++++++----
contrib/pg_upgrade/pg_upgrade.c  |    2 +-
contrib/pg_upgrade/pg_upgrade.h  |   28 +++++---
contrib/pg_upgrade/relfilenode.c |  100 +++++++++++++++++++-------
contrib/pg_upgrade/tablespace.c  |   14 ++--
doc/src/sgml/pgupgrade.sgml      |    9 ++-
8 files changed, 256 insertions(+), 73 deletions(-)