Implement ALTER DATABASE SET TABLESPACE to move a whole database (or at least
Tom Lane <tgl@sss.pgh.pa.us>
Implement ALTER DATABASE SET TABLESPACE to move a whole database (or at least as much of it as lives in its default tablespace) to a new tablespace. Guillaume Lelarge, with some help from Bernd Helmle and Tom Lane
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/alter_database.sgml | modified | +22 −1 |
| src/backend/commands/dbcommands.c | modified | +350 −2 |
| src/backend/parser/gram.y | modified | +9 −1 |
| src/backend/storage/lmgr/lmgr.c | modified | +40 −1 |
| src/backend/tcop/utility.c | modified | +2 −2 |
| src/bin/psql/tab-complete.c | modified | +6 −3 |
| src/include/commands/dbcommands.h | modified | +2 −2 |
| src/include/storage/lmgr.h | modified | +6 −1 |