pgsql: pg_dump, pg_upgrade: allow postgres/template1 tablespace moves

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема pgsql: pg_dump, pg_upgrade: allow postgres/template1 tablespace moves
Дата
Msg-id E1ZaUM5-0000w3-0J@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-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_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c5391e9334c32fb2cb9251f0e7bb824bb50c9d8c

Modified Files
--------------
contrib/pg_upgrade/info.c    |   18 ++++++++++++++++--
src/bin/pg_dump/pg_dumpall.c |   22 ++++++++++++++++++++++
2 files changed, 38 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix build problems in commit aa65de042f5828968f2f6cd65f45c543a40
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: pg_dump, pg_upgrade: allow postgres/template1 tablespace moves