May 17, 2026, 11:40 PM
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
SELECT 'REVOKE ALL PRIVILEGES FROM TABLE public."' || relname || '" FROM <some_user>;'
|
||||
FROM pg_class
|
||||
WHERE relname NOT LIKE 'pg_%' AND
|
||||
relname NOT LIKE 'information%' AND
|
||||
relname NOT LIKE 'sql_%' AND
|
||||
relkind = 'r'
|
||||
ORDER BY relname;
|
||||
Reference in New Issue
Block a user