Re: Need help understanding has_function_privilege - Mailing list pgsql-general

From David G. Johnston
Subject Re: Need help understanding has_function_privilege
Date
Msg-id CAKFQuwZmXG7uKX0dH+5=RMHrpTkGXa-VG4gePAOTtP+vd+C=ig@mail.gmail.com
Whole thread Raw
In response to Re: Need help understanding has_function_privilege  (Cosimo Simeone <cosimo.simeone@gmail.com>)
List pgsql-general
On Friday, March 21, 2025, Cosimo Simeone <cosimo.simeone@gmail.com> wrote:
Hi, and thanks (both of you!)
Shouldn't the
 create role my_user NOINHERIT;
avoid this? And since not, why? :-)


We might need to improve documentation surrounding the public pseudo-role a bit.  Since it’s not a true group role I suspect inherit/noinherit doesn’t apply. (You also cannot SET to it, nor admin it - not tested.) Losing the execute privilege on every built-in function would be way too annoying.

David J.

pgsql-general by date:

Previous
From: David Rowley
Date:
Subject: Re: Querying one partition in a function takes locks on all partitions
Next
From: Adrian Klaver
Date:
Subject: Re: Experience and feedback on pg_restore --data-only