GRANT ALL PRIVILEGES ON DATABASE yourdbname TO youruser;
psql=# grant all privileges on database <dbname> to <username>