Re: current_user inside SECURITY DEFINER function?

From: Richard Hayward <richard(at)tortoise(dot)demon(dot)co(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: current_user inside SECURITY DEFINER function?
Date: 2005-07-06 20:19:18
Message-ID: q3foc11hl99qa468rg7gquvuhuf8s7nu8a@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 6 Jul 2005 06:33:58 -0700 (PDT), sszabo(at)megazone(dot)bigpanda(dot)com
(Stephan Szabo) wrote:

>SESSION_USER should give the original user.

Thanks all, that does what I want.

regards
Richard

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Frost 2005-07-06 20:27:44 Re: current_user inside SECURITY DEFINER function?
Previous Message Joe Markwardt 2005-07-06 20:01:22 Re: ERROR: cache lookup failed for relation 438095645