pgsql: Allow parallel copy/link in pg_upgrade - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: Allow parallel copy/link in pg_upgrade
Date
Msg-id E1TswAB-00067Q-Um@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix potential corruption of lock table in CREATE/DROP INDEX CONC
Next
From: Magnus Hagander
Date:
Subject: pgsql: Don't attempt to write recovery.conf when -R is not specified