Check out example codes for "user privileges postgresql information_schema". It will help you in understanding the concepts better.

Code Example 1

GRANT SELECT ON ALL TABLES IN SCHEMA PUBLIC TO testuser2;

Learn ReactJs, React Native from akashmittal.com