22.4. 移除角色
ALTER TABLE bobs_table OWNER TO alice;REASSIGN OWNED BY doomed_role TO successor_role;
DROP OWNED BY doomed_role;
-- repeat the above commands in each database of the cluster
DROP ROLE doomed_role;Was this helpful?
ALTER TABLE bobs_table OWNER TO alice;REASSIGN OWNED BY doomed_role TO successor_role;
DROP OWNED BY doomed_role;
-- repeat the above commands in each database of the cluster
DROP ROLE doomed_role;Was this helpful?
Was this helpful?