| От | Tom Lane |
|---|---|
| Тема | Re: Should SET ROLE inherit config params? |
| Дата | |
| Msg-id | 27654.1237154972@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Should SET ROLE inherit config params? (Josh Berkus <josh@agliodbs.com>) |
| Список | pgsql-hackers |
Josh Berkus <josh@agliodbs.com> writes:
> Tom Lane wrote:
>> The question is why this should be tied to SET ROLE, which already has
>> well defined semantics that don't include any such behavior.
> Mostly because we don't have anywhere else to hang a "settings profile"
> than ROLEs.
So we should fix that, if we want a feature like this.
> And currently, we can define settings with roles; the fact
> that those settings materially only apply to login roles and not to
> non-login roles could even be seen as inconsistent.
[ shrug... ] The behavior of SET ROLE is defined by the standard. The
behavior at login is not.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера