Re: Possibility to disable `ALTER SYSTEM`
От | Tom Lane |
---|---|
Тема | Re: Possibility to disable `ALTER SYSTEM` |
Дата | |
Msg-id | 1756006.1694118434@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Possibility to disable `ALTER SYSTEM` (Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>) |
Ответы |
Re: Possibility to disable `ALTER SYSTEM`
|
Список | pgsql-hackers |
Gabriele Bartolini <gabriele.bartolini@enterprisedb.com> writes: > I would like to propose a patch that allows administrators to disable > `ALTER SYSTEM` via either a runt-time option to pass to the Postgres server > process at startup (e.g. `--disable-alter-system=true`, false by default) > or a new GUC (or even both), without changing the current default method of > the server. ALTER SYSTEM is already heavily restricted. I don't think we need random kluges added to the permissions system. I especially don't believe in kluges to the effect of "superuser doesn't have all permissions anymore". If you nonetheless feel that that's a good idea for your use case, you can implement the restriction with an event trigger or the like. regards, tom lane
В списке pgsql-hackers по дате отправления: