postgresql/contrib/pg_upgrade
Bruce Momjian 52b07779dd 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
2015-09-11 15:51:10 -04:00
..
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:06 +02:00
check.c pg_upgrade: only allow template0 to be non-connectable 2015-05-16 00:10:03 -04:00
controldata.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
dump.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
exec.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
file.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
function.c Prevent pg_upgrade from migrating databases that use reg* data types 2010-07-25 03:28:39 +00:00
IMPLEMENTATION Add CVS tags to pg_upgrade and pg_upgrade_support files, per request 2010-07-03 14:23:14 +00:00
info.c pg_dump, pg_upgrade: allow postgres/template1 tablespace moves 2015-09-11 15:51:10 -04:00
Makefile Add CVS tags to pg_upgrade and pg_upgrade_support files, per request 2010-07-03 14:23:14 +00:00
option.c Improve pg_upgrade's checks for required executables. 2010-12-29 13:43:58 -05:00
page.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pg_upgrade.c Fix typos 2015-05-17 22:23:35 -04:00
pg_upgrade.h Unbreak 9.0 and 9.1 pg_upgrade. 2013-01-25 11:39:17 -05:00
relfilenode.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
server.c Backpatch pg_upgrade fixes to 9.0: 2010-07-13 20:15:51 +00:00
tablespace.c pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
TESTING Backpatch pg_upgrade fixes to 9.0: 2010-07-13 20:15:51 +00:00
util.c Have pg_upgrade use strtoul(), not strtol(). 2010-09-29 02:40:26 +00:00
version_old_8_3.c In pg_upgrade, disallow migration of 8.3 clusters using contrib/ltree 2011-09-07 14:42:36 -04:00
version.c Make pg_upgrade copyrights just 2010, not 2010-2010. 2010-07-03 16:33:15 +00:00