| От | Fabien COELHO |
|---|---|
| Тема | Re: [HACKERS] "CURRENT_ROLE" is not documented |
| Дата | |
| Msg-id | alpine.DEB.2.20.1705062110160.3896@lancre обсуждение исходный текст |
| Ответ на | Re: [HACKERS] "CURRENT_ROLE" is not documented (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
> functions with the attribute <literal>SECURITY DEFINER</literal>. > In Unix parlance, the session user is the <quote>real user</quote> and > the current user is the <quote>effective user</quote>. > + <function>current_role</function> and <function>user</function> are > + synonyms for <function>current_user</function>. (The SQL standard draws > + a distinction between <function>current_role</function> > + and <function>current_user</function>, but <productname>PostgreSQL</> > + does not, since it unifies users and roles into a single kind of entity.) Looks simple and good to me. Thanks for the wording! -- Fabien.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера