PostgreSQL role user Grant

Create user

$ sudo -u postgres createuser

Creating Database

$ sudo -u postgres createdb

Grant all to tables

GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO new_user;