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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема pgsql: pg_dump, pg_upgrade: allow postgres/template1 tablespace moves
Дата
Msg-id E1ZaUM4-0000vq-Vc@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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7f8d090b8966ef098f45537d42e47e296210145f

Modified Files
--------------
src/bin/pg_dump/pg_dumpall.c |   18 ++++++++++++++++++
src/bin/pg_upgrade/info.c    |   15 ++++++++++++---
2 files changed, 30 insertions(+), 3 deletions(-)


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: pg_dump, pg_upgrade: allow postgres/template1 tablespace moves
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: pg_dump, pg_upgrade: allow postgres/template1 tablespace moves