pgsql: adjust ACL owners for REASSIGN and ALTER OWNER TO

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема pgsql: adjust ACL owners for REASSIGN and ALTER OWNER TO
Дата
Msg-id E1YELgv-0007mA-Rk@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: adjust ACL owners for REASSIGN and ALTER OWNER TO  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-committers
adjust ACL owners for REASSIGN and ALTER OWNER TO

When REASSIGN and ALTER OWNER TO are used, both the object owner and ACL
list should be changed from the old owner to the new owner. This patch
fixes types, foreign data wrappers, and foreign servers to change their
ACL list properly;  they already changed owners properly.

BACKWARD INCOMPATIBILITY?

Report by Alexey Bashtanov

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/59367fdf97cc1875b053ebf87cd1e071dc7f3640

Modified Files
--------------
src/backend/commands/foreigncmds.c         |   56 ++++++++++++++-
src/backend/commands/typecmds.c            |   65 ++++++++++++++---
src/test/regress/expected/foreign_data.out |  104 ++++++++++++++--------------
3 files changed, 161 insertions(+), 64 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: More fixes for abbreviated keys infrastructure.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Repair brain fade in commit b181a91981203f6ec9403115a2917bd3f947