3 ms·
Isn't it something like GRANT ALL ON DATABASE foo TO USER bar
by direwolf20 9mo ago
Isn't it something like GRANT ALL ON DATABASE foo TO USER bar
- mulmen 9mo agoGrant operates on objects that already exist. They probably want ALTER DEFAULT PRIVILEGES or maybe just a superuser. The Postgres docs are actually really really good. https://www.postgresql.org/docs/current/sql-alterdefaultpriv https://www.postgresql.org/docs/current/sql-alterdefaultpriv... https://www.postgresql.org/docs/current/role-attributes.html https://www.postgresql.org/docs/current/role-attributes.html