adjust ACL owners for REASSIGN and ALTER OWNER TO

Bruce Momjian <bruce@momjian.us>

Commit: 59367fdf97cc1875b053ebf87cd1e071dc7f3640
Author: Bruce Momjian <bruce@momjian.us>
Date: 2015-01-22T17:36:55Z
Releases: 9.5.0
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

Files