Re: current_user inside SECURITY DEFINER function? - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: current_user inside SECURITY DEFINER function?
Date
Msg-id 200507062156.11537.peter_e@gmx.net
Whole thread Raw
In response to Re: current_user inside SECURITY DEFINER function?  (Stephen Frost <sfrost@snowman.net>)
Responses Re: current_user inside SECURITY DEFINER function?
List pgsql-general
Stephen Frost wrote:
> * Richard Hayward (richard@tortoise.demon.co.uk) wrote:
> > Is there any way of getting the user?
>
> You might try session_user.  8.1 will hopefully clean this up some.

Why would it?  This is SQL standard behavior that should not be changed.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-general by date:

Previous
From: felix@crowfix.com
Date:
Subject: Re: 7.3.2 closing connections, sometimes
Next
From: Joe Markwardt
Date:
Subject: Re: ERROR: cache lookup failed for relation 438095645