diff options
author | Stephen Frost <sfrost@snowman.net> | 2014-08-21 19:06:17 -0400 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2014-08-21 19:06:17 -0400 |
commit | 3c4cf080879b386d4ed1814667aca025caafe608 (patch) | |
tree | ec530d19313baddf3ff3ee8aa693c5f4f0326b32 /src/include/commands/tablespace.h | |
parent | f57791985ac3d776cb67e9d69befde538cfdf13b (diff) | |
download | postgresql-3c4cf080879b386d4ed1814667aca025caafe608.tar.gz postgresql-3c4cf080879b386d4ed1814667aca025caafe608.zip |
Rework 'MOVE ALL' to 'ALTER .. ALL IN TABLESPACE'
As 'ALTER TABLESPACE .. MOVE ALL' really didn't change the tablespace
but instead changed objects inside tablespaces, it made sense to
rework the syntax and supporting functions to operate under the
'ALTER (TABLE|INDEX|MATERIALIZED VIEW)' syntax and to be in
tablecmds.c.
Pointed out by Alvaro, who also suggested the new syntax.
Back-patch to 9.4.
Diffstat (limited to 'src/include/commands/tablespace.h')
-rw-r--r-- | src/include/commands/tablespace.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/include/commands/tablespace.h b/src/include/commands/tablespace.h index 073cb0d64a1..d01ae8bdf9f 100644 --- a/src/include/commands/tablespace.h +++ b/src/include/commands/tablespace.h @@ -43,7 +43,6 @@ extern Oid CreateTableSpace(CreateTableSpaceStmt *stmt); extern void DropTableSpace(DropTableSpaceStmt *stmt); extern Oid RenameTableSpace(const char *oldname, const char *newname); extern Oid AlterTableSpaceOptions(AlterTableSpaceOptionsStmt *stmt); -extern Oid AlterTableSpaceMove(AlterTableSpaceMoveStmt *stmt); extern void TablespaceCreateDbspace(Oid spcNode, Oid dbNode, bool isRedo); |