Thread: pgsql: ALTER TABLESPACE ... MOVE ... OWNED BY
ALTER TABLESPACE ... MOVE ... OWNED BY Add the ability to specify the objects to move by who those objects are owned by (as relowner) and change ALL to mean ALL objects. This makes the command always operate against a well-defined set of objects and not have the objects-to-be-moved based on the role of the user running the command. Per discussion with Simon and Tom. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/fbe19ee3b87590f1006d072be5fecf8a33d4e9f5 Modified Files -------------- doc/src/sgml/ref/alter_tablespace.sgml | 35 +++++++++++++----- src/backend/commands/tablespace.c | 29 +++++++++++---- src/backend/commands/user.c | 3 +- src/backend/nodes/copyfuncs.c | 3 ++ src/backend/nodes/equalfuncs.c | 3 ++ src/backend/parser/gram.y | 63 +++++++++++++++++++++++++++++--- src/include/commands/user.h | 1 + src/include/nodes/parsenodes.h | 5 ++- 8 files changed, 115 insertions(+), 27 deletions(-)