Re: Allowing to create LEAKPROOF functions to non-superuser - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Allowing to create LEAKPROOF functions to non-superuser
Date
Msg-id 20210412205403.qjhdulbrs2heorva@alap3.anarazel.de
Whole thread Raw
In response to Re: Allowing to create LEAKPROOF functions to non-superuser  (Tomas Vondra <tomas.vondra@enterprisedb.com>)
List pgsql-hackers
Hi,

On 2021-04-12 22:42:03 +0200, Tomas Vondra wrote:
> It's unfortunate that we tie the this capability to being superuser,
> so maybe the right solution would be to introduce a separate role with
> this privilege?

Perhaps DB owner + BYPASSRLS would be enough?

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Allowing to create LEAKPROOF functions to non-superuser
Next
From: Tom Lane
Date:
Subject: Curious test case added by collation version tracking patch