pgsql: pg_upgrade: abstract out copying of files from old cluster to ne

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_upgrade: abstract out copying of files from old cluster to ne
Date: 2012-07-05 15:43:56
Message-ID: E1SmoDk-0003Df-4b@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/666d494d19dbd5dc7a177709a2f7069913f8ab89

Modified Files
--------------
contrib/pg_upgrade/pg_upgrade.c | 35 +++++++++++++++++++++++------------
1 files changed, 23 insertions(+), 12 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-07-05 18:00:56 pgsql: Remove support for using wait3() in place of waitpid().
Previous Message Magnus Hagander 2012-07-05 12:07:17 pgsql: Fix function argument tab completion for schema-qualified or quo