diff options
author | Bruce Momjian <bruce@momjian.us> | 2015-09-11 15:51:11 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2015-09-11 15:51:11 -0400 |
commit | 3243fce882d4a4dc294e331289e873f9246d7c68 (patch) | |
tree | 7a29e4afa0adade60cda609d5c17492e4e9eb545 /src/backend/utils/adt/jsonfuncs.c | |
parent | 25b3ddd1de54563b631484f6d56bd56bef906102 (diff) | |
download | postgresql-3243fce882d4a4dc294e331289e873f9246d7c68.tar.gz postgresql-3243fce882d4a4dc294e331289e873f9246d7c68.zip |
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
Diffstat (limited to 'src/backend/utils/adt/jsonfuncs.c')
0 files changed, 0 insertions, 0 deletions