Re: [HACKERS] "CURRENT_ROLE" is not documented

Поиск
Список
Период
Сортировка
Искать
От
Fabien COELHO
Тема
Re: [HACKERS] "CURRENT_ROLE" is not documented
Дата
в 22:13:29
Msg-id
alpine.DEB.2.20.1705062110160.3896@lancre
Ответ на
Список
Дерево обсуждения
[HACKERS] "CURRENT_ROLE" is not documented Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] "CURRENT_ROLE" is not documented Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] "CURRENT_ROLE" is not documented Fabien COELHO <coelho@cri.ensmp.fr>
Re: [HACKERS] "CURRENT_ROLE" is not documented Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] "CURRENT_ROLE" is not documented Fabien COELHO <coelho@cri.ensmp.fr>

>      functions with the attribute SECURITY DEFINER.
>      In Unix parlance, the session user is the real user and
>      the current user is the effective user.
> +     current_role and user are
> +     synonyms for current_user.  (The SQL standard draws
> +     a distinction between current_role
> +     and current_user, but 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 по дате отправления
От: Noah Misch
Дата:
От: Andrew Dunstan
Дата:
FAQ