Postgresql批量更改所有者和批量授权
批量授权schema内的表权限grant all on all tables in schema <SCHEMA> to <NEW_OWNER>;更改schema内所有表的所有者DO $$DECLARE r record;DECLARE v_schema varchar
批量授权schema内的表权限grant all on all tables in schema <SCHEMA> to <NEW_OWNER>;更改schema内所有表的所有者DO $$DECLARE r record;DECLARE v_schema varchar