-
- Downloads
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.
Showing
- doc/src/sgml/ref/alter_index.sgml 13 additions, 0 deletionsdoc/src/sgml/ref/alter_index.sgml
- doc/src/sgml/ref/alter_materialized_view.sgml 2 additions, 0 deletionsdoc/src/sgml/ref/alter_materialized_view.sgml
- doc/src/sgml/ref/alter_table.sgml 17 additions, 3 deletionsdoc/src/sgml/ref/alter_table.sgml
- doc/src/sgml/ref/alter_tablespace.sgml 0 additions, 78 deletionsdoc/src/sgml/ref/alter_tablespace.sgml
- doc/src/sgml/release-9.4.sgml 4 additions, 1 deletiondoc/src/sgml/release-9.4.sgml
- src/backend/commands/tablecmds.c 171 additions, 0 deletionssrc/backend/commands/tablecmds.c
- src/backend/commands/tablespace.c 0 additions, 179 deletionssrc/backend/commands/tablespace.c
- src/backend/nodes/copyfuncs.c 5 additions, 6 deletionssrc/backend/nodes/copyfuncs.c
- src/backend/nodes/equalfuncs.c 4 additions, 5 deletionssrc/backend/nodes/equalfuncs.c
- src/backend/parser/gram.y 68 additions, 97 deletionssrc/backend/parser/gram.y
- src/backend/tcop/utility.c 8 additions, 12 deletionssrc/backend/tcop/utility.c
- src/include/commands/tablecmds.h 2 additions, 0 deletionssrc/include/commands/tablecmds.h
- src/include/commands/tablespace.h 0 additions, 1 deletionsrc/include/commands/tablespace.h
- src/include/nodes/nodes.h 1 addition, 1 deletionsrc/include/nodes/nodes.h
- src/include/nodes/parsenodes.h 3 additions, 4 deletionssrc/include/nodes/parsenodes.h
- src/test/regress/input/tablespace.source 3 additions, 2 deletionssrc/test/regress/input/tablespace.source
- src/test/regress/output/tablespace.source 3 additions, 2 deletionssrc/test/regress/output/tablespace.source
- src/tools/pgindent/typedefs.list 1 addition, 1 deletionsrc/tools/pgindent/typedefs.list
Loading
Please register or sign in to comment