| From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
|---|---|
| To: | Rikard Pavelic <rikard(dot)pavelic(at)zg(dot)htnet(dot)hr> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: permission issue |
| Date: | 2005-11-19 10:38:59 |
| Message-ID: | 20051119103859.GC8630@svana.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)svana(dot)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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tino Wildenhain | 2005-11-19 11:18:45 | Re: Createlang plpgsql |
| Previous Message | Martijn van Oosterhout | 2005-11-19 09:50:51 | Re: implicit index created, do I need to also create an explicit index? |