Allow parallel copy/link in pg_upgrade
Bruce Momjian <bruce@momjian.us>
Allow parallel copy/link in pg_upgrade This patch implements parallel copying/linking of files by tablespace using the --jobs option in pg_upgrade.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pg_upgrade/check.c | modified | +4 −4 |
| contrib/pg_upgrade/info.c | modified | +13 −8 |
| contrib/pg_upgrade/parallel.c | modified | +134 −13 |
| contrib/pg_upgrade/pg_upgrade.c | modified | +1 −1 |
| contrib/pg_upgrade/pg_upgrade.h | modified | +18 −10 |
| contrib/pg_upgrade/relfilenode.c | modified | +74 −26 |
| contrib/pg_upgrade/tablespace.c | modified | +7 −7 |
| doc/src/sgml/pgupgrade.sgml | modified | +5 −4 |