pgsql: ALTER TABLESPACE ... MOVE ... OWNED BY

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема pgsql: ALTER TABLESPACE ... MOVE ... OWNED BY
Дата
Msg-id E1W6Yp4-0007i1-79@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: pgsql: Remove duplicate index entry DATE_TRUNC in document.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: In GIN recompression code, use mmemove rather than memcpy, for v