From: Bruce Momjian <bruce@momjian.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: pg_dump, pg_upgrade: allow postgres/template1 tablespace moves
Date: Fri, 11 Sep 2015 19:51:29 +0000
Message-ID: <E1ZaUM5-0000w0-0E@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
pg_dump, pg_upgrade: allow postgres/template1 tablespace moves
Modify pg_dump to restore postgres/template1 databases to non-default
tablespaces by switching out of the database to be moved, then switching
back.
Also, to fix potentially cases where the old/new tablespaces might not
match, fix pg_upgrade to process new/old tablespaces separately in all
cases.
Report by Marti Raudsepp
Patch by Marti Raudsepp, me
Backpatch through 9.0
Branch
------
REL9_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/befc63e849d24a4d4aacece42937f7600af7967f
Modified Files
--------------
contrib/pg_upgrade/info.c | 18 ++++++++++++++++--
src/bin/pg_dump/pg_dumpall.c | 22 ++++++++++++++++++++++
2 files changed, 38 insertions(+), 2 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: bruce@momjian.us
Subject: Re: pgsql: pg_dump, pg_upgrade: allow postgres/template1 tablespace moves
In-Reply-To: <E1ZaUM5-0000w0-0E@gemulon.postgresql.org>
References: <E1ZaUM5-0000w0-0E@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox