| От | Tom Lane |
|---|---|
| Тема | Re: Role inheritance and Conflicting Parameter Values |
| Дата | |
| Msg-id | 17742.1403565846@sss.pgh.pa.us обсуждение |
| Ответ на | Role inheritance and Conflicting Parameter Values ("McGehee, Robert" <Robert.McGehee@geodecapital.com>) |
| Список | pgsql-general |
"McGehee, Robert" <Robert.McGehee@geodecapital.com> writes:
> I'm trying to set the default statement_timeout parameter for two different groups of users. However, as many of the
usersinherit from overlapping roles, I wanted to get clarification on how inheritance of parameter values worked when a
roleinherits from other roles that all have different settings for a parameter value.
I'm pretty sure there is no inheritance for ALTER ROLE SET parameters.
Role inheritance only applies to grantable permissions.
> Also, as a superuser, can I examine the parameter values for another
> user to make sure I set this correctly.
You can certainly look at the pg_db_role_setting catalog to find this out.
I don't remember offhand if there are any system views that present the
information in a more friendly fashion.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера