postgres information_schema privileges code example Example: user privileges postgresql information_schema GRANT SELECT ON ALL TABLES IN SCHEMA PUBLIC TO testuser2;