current_user in seucurity DEFINER functions

From: strk <strk(at)keybit(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: current_user in seucurity DEFINER functions
Date: 2010-05-13 06:57:18
Message-ID: 20100513065718.GM99776@keybit.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

--strk;

() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Leonardo F 2010-05-13 07:21:18 Authentication method for web app
Previous Message Koichi Suzuki 2010-05-13 06:21:12 Re: Re: [ANNOUNCE] Bug-fix and new feature of pg_lesslog is released