postgresql/contrib/pg_upgrade
Bruce Momjian c5391e9334 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:04 +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:26 -04:00
dump.c Remove tabs after spaces in C comments 2014-05-06 11:26:26 -04:00
exec.c Remove tabs after spaces in C comments 2014-05-06 11:26:26 -04:00
file.c Properly check for readdir/closedir() failures 2014-03-21 13:45:11 -04:00
function.c In pg_upgrade, report pre-PG 8.1 plpython helper functions left in the 2012-06-13 12:34:03 -04:00
IMPLEMENTATION Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
info.c pg_dump, pg_upgrade: allow postgres/template1 tablespace moves 2015-09-11 15:51:10 -04:00
Makefile Convert contrib modules to use the extension facility. 2011-02-13 22:54:49 -05:00
option.c Adjust pg_upgrade check for pg_upgrade_support to happen after the 2011-06-22 17:47:24 -04:00
page.c Remove tabs after spaces in C comments 2014-05-06 11:26:26 -04:00
pg_upgrade.c Fix typos 2015-05-17 22:23:13 -04:00
pg_upgrade.h Unbreak 9.0 and 9.1 pg_upgrade. 2013-01-25 11:39:45 -05:00
relfilenode.c Remove tabs after spaces in C comments 2014-05-06 11:26:26 -04:00
server.c In pg_upgrade, fix the -l/log option to work on Windows. 2011-07-20 18:31:07 -04:00
tablespace.c pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
TESTING Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
util.c Remove tabs after spaces in C comments 2014-05-06 11:26:26 -04:00
version.c Adjust pg_upgrade FATAL error messages to have consistent newlines. 2011-05-06 21:47:42 -04:00
version_old_8_3.c In pg_upgrade, disallow migration of 8.3 clusters using contrib/ltree 2011-09-07 14:43:07 -04:00