]> granicus.if.org Git - postgresql/commit
pg_upgrade: abstract out copying of files from old cluster to new
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 5 Jul 2012 15:38:42 +0000 (11:38 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 5 Jul 2012 15:38:42 +0000 (11:38 -0400)
commit666d494d19dbd5dc7a177709a2f7069913f8ab89
tree2b259e5eba889da26ed576bdc3ddfcff3de7f670
parent3644a63984cbdba2c78c22fd9a0cdb0f4701b600
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.
contrib/pg_upgrade/pg_upgrade.c