Re: current_role of caller of a DEFINER function - Mailing list pgsql-general

From David G. Johnston
Subject Re: current_role of caller of a DEFINER function
Date
Msg-id CAKFQuwbnK-gEL=LrtMpkvGGSHCdwhSvDgcJCu6QNj-6rquGRtQ@mail.gmail.com
Whole thread Raw
In response to current_role of caller of a DEFINER function  (Dominique Devienne <ddevienne@gmail.com>)
Responses Re: current_role of caller of a DEFINER function
Re: current_role of caller of a DEFINER function
List 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 by date:

Previous
From: Dominique Devienne
Date:
Subject: Re: current_role of caller of a DEFINER function
Next
From: Isaac Morland
Date:
Subject: Re: current_role of caller of a DEFINER function