pgsql: pg_dump, pg_upgrade: allow postgres/template1 tablespace moves
pgsql: pg_dump, pg_upgrade: allow postgres/template1 tablespace moves
От:
Bruce Momjian <bruce@momjian.us>
Дата:
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_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/3243fce882d4a4dc294e331289e873f9246d7c68 Modified Files -------------- src/bin/pg_dump/pg_dumpall.c | 18 ++++++++++++++++++ src/bin/pg_upgrade/info.c | 15 ++++++++++++--- 2 files changed, 30 insertions(+), 3 deletions(-)