Re: permission issue - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: permission issue
Date
Msg-id 20051119103859.GC8630@svana.org
Whole thread Raw
In response to permission issue  (Rikard Pavelic <rikard.pavelic@zg.htnet.hr>)
List pgsql-general
On Sat, Nov 19, 2005 at 09:35:18AM +0100, Rikard Pavelic wrote:
> Recently I saw that there are many changes regarding stored procedures and
> I like all of them, but I have a problem with permission issue.
> If I grant execution right on function to some user or group PostgreSQL
> is unable
> to execute this function unless it has all the necessary rights (select,
> insert,...)
> on all of the objects it (function) uses.

Look in the documentation about SECURITY DEFINER.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Attachment

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: implicit index created, do I need to also create an explicit index?
Next
From: Tino Wildenhain
Date:
Subject: Re: Createlang plpgsql