Conceda todos os privilégios do banco de dados PostGres ao usuário
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA schema_name TO username;
Hilarious Hamerkop
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA schema_name TO username;
GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA schema_name TO username;
ALTER DATABASE name OWNER TO new_owner;