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