Y
Hacker News
new
|
ask
|
show
|
jobs
by
direwolf20
134 days ago
Isn't it something like GRANT ALL ON DATABASE foo TO USER bar
1 comments
mulmen
134 days ago
Grant 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/role-attributes.html
link