pgsql: ALTER TABLESPACE ... MOVE ... OWNED BY - Mailing list pgsql-committers

From Stephen Frost
Subject pgsql: ALTER TABLESPACE ... MOVE ... OWNED BY
Date
Msg-id E1W6Yp4-0007i1-79@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: pgsql: Remove duplicate index entry DATE_TRUNC in document.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: In GIN recompression code, use mmemove rather than memcpy, for v