pg_upgrade: abstract out copying of files from old cluster to new

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 666d494d19dbd5dc7a177709a2f7069913f8ab89
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2012-07-05T15:38:42Z
Releases: 9.3.0
pg_upgrade: abstract out copying of files from old cluster to new

Currently only pg_clog is copied, but some other directories could need
the same treatment as well, so create a subroutine to do it.

Extracted from my (somewhat larger) FOR KEY SHARE patch.

Files

PathChange+/−
contrib/pg_upgrade/pg_upgrade.c modified +23 −12