Re: A function privilege problem - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: A function privilege problem
Date
Msg-id CAKFQuwaiT4-7AtcdnEHRGq6O3j6UA2ya717PPQMzRP2cvg3weA@mail.gmail.com
Whole thread Raw
In response to Re: A function privilege problem  (高 云龙 <gaoyunlong@biss.com>)
Responses Re: A function privilege problem  (高 云龙 <gaoyunlong@biss.com>)
List pgsql-bugs
On Wednesday, July 24, 2019, 高 云龙 <gaoyunlong@biss.com> wrote:
> 在 2019年7月24日,上午10:09,yunlong <gaoyunlong@biss.com> 写道:
>
> What’s PUBLIC mean ? public schema ?
> My function is not in public schema, and I still can execute the function with the new db user after run revoke execute on function xxx from xxx
>


PUBLIC here is referring to the system group that all roles are implicitly and permanently members of.

You need to replace xxx with actual values and a self-contained script if you want others to understand what is being questioned.

David J.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: ADD CHECK fails for parent table if column used in CHECK is fully-qualified
Next
From: Daniel Migowski
Date:
Subject: AW: BUG #15923: Prepared statements take way too much memory.