Re: Permissions within a function - Mailing list pgsql-hackers

From Thomas Hallgren
Subject Re: Permissions within a function
Date
Msg-id thhal-0HmWiAhtFcS4Ro6nOSestFzy5j1HOTR@mailblocks.com
Whole thread Raw
In response to Re: Permissions within a function  (Hannu Krosing <hannu@tm.ee>)
List pgsql-hackers
Hannu Krosing wrote:
> Would SECURITY DEFINER not work for pljava ?
> 
> Or if you are looking for something that has to be done inside the pl
> handler maybe you should use another function with SECURITY DEFINER and
> owned by superuser for function lookups ?
> 
Of course. That's even better then a SetUser. Full control and no magic. 
KISS applied the way it should be :-)

Thanks Hannu,
Thomas Hallgren



pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Permissions within a function
Next
From: Alvaro Herrera
Date:
Subject: Re: Shared row locking