On Thu, May 13, 2010 at 09:21:46AM +0200, Pavel Stehule wrote: > 2010/5/13 strk <strk@xxxxxxxxxx>: > > In a security definer function current_user yelds the > > name of the function definer rather than invoker. > > Is it possible to fetch the invoker name instead ? How ? > > > > Thanks in advance. > > try to use session_user That's it. Thank you! --strk; () Free GIS & Flash consultant/developer /\ http://strk.keybit.net/services.html -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general