Postgresql 表权限设置

mac2025-10-27  2

select ‘grant SELECT on table ’ || schemaname || ‘.’ || tablename || ’ to read_role;’ from pg_tables where schemaname = ‘public’

最新回复(0)