Files
DBAdmin/inbox/DataBase/PostgreSQL/queries/table_grants.sql
T
2026-05-18 06:40:19 +00:00

8 lines
231 B
SQL

SELECT table_schema,
table_name,
grantee,
privilege_type
FROM information_schema.role_table_grants
WHERE table_schema NOT IN ('information_schema', 'pg_catalog')
ORDER BY table_schema, table_name, grantee;