Re: Permissions within a function

From: Thomas Hallgren <thhal(at)mailblocks(dot)com>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Permissions within a function
Date: 2004-12-20 12:59:07
Message-ID: thhal-0HmWiAhtFcS4Ro6nOSestFzy5j1HOTR@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2004-12-20 13:35:33 Re: Shared row locking
Previous Message psrao 2004-12-20 12:22:41 VERY URGENT