To provide here you need to use the DATABASE keyword. So I am sending you the output from psql to:
postgres=# create user uu with password 'uu'; CREATE ROLE postgres=# create database u_db owner uu; CREATE DATABASE postgres=# grant all privileges on u_db to uu; FEHLER: Relation ยปu_dbยซ existiert nicht postgres=# grant all privileges on database u_db to uu; GRANT
But. IMHO, through setting up the database owner, you do not need to provide additional rights for the uu user.
frlan
source share