Open rafiss opened 6 months ago
Hii, I would like to work on this
as far as I can understand
ALTER DATABASE ... SET ...
and ALTER ROLE ALL IN DATABASE SET ...
change the session defaults for a database and should effetively be same.ALTER DATABASE ... SET ...
, only a superuser canthe issues here are
ALTER DATABASE ... SET ...
or ALTER ROLE ALL IN DATABASE SET ...
Hii @rafiss, need your inputs here.
Describe the problem
Database owners should be allowed to run
ALTER DATABASE ... SET ...
commands.This is the Postgres behavior, so we should be compatible: https://www.postgresql.org/docs/current/sql-alterdatabase.html
To Reproduce
As root
As testuser
Expected behavior
The last command should succeed.
Jira issue: CRDB-38275