allow user to create table in postgresql code example
Example 1: Database owner can't create new tables postgres
GRANT ALL ON schema public TO foo_user;
Example 2: Database owner can't create new tables postgres
REVOKE ALL ON schema public FROM public;