git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 2ccc4e9) | patch
pg_dump, pg_upgrade: allow postgres/template1 tablespace moves
2015年9月11日 19:51:11 +0000 (15:51 -0400)
2015年9月11日 19:51:11 +0000 (15:51 -0400)
commit 7f8d090b8966ef098f45537d42e47e296210145f
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
src/bin/pg_dump/pg_dumpall.c diff | blob | blame | history
src/bin/pg_upgrade/info.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /