Re: current_role of caller of a DEFINER function

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: current_role of caller of a DEFINER function
Дата
Msg-id CAKFQuwbnK-gEL=LrtMpkvGGSHCdwhSvDgcJCu6QNj-6rquGRtQ@mail.gmail.com
обсуждение исходный текст
Ответ на current_role of caller of a DEFINER function  (Dominique Devienne <ddevienne@gmail.com>)
Ответы Re: current_role of caller of a DEFINER function
Re: current_role of caller of a DEFINER function
Список pgsql-general
On Wednesday, June 26, 2024, Dominique Devienne <ddevienne@gmail.com> wrote:
Only session_user
is representative of the caller, and reliable (modulo SUPERUSER and
SET AUTHORIZATION, but that's a different story and kinda normal)

Why can you not use session_user then?

David J.
 

В списке pgsql-general по дате отправления:

Предыдущее
От: Dominique Devienne
Дата:
Сообщение: Re: current_role of caller of a DEFINER function
Следующее
От: Isaac Morland
Дата:
Сообщение: Re: current_role of caller of a DEFINER function