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

From Stephen Frost
Subject Re: current_user inside SECURITY DEFINER function?
Date
Msg-id 20050706202744.GD24207@ns.snowman.net
Whole thread Raw
In response to Re: current_user inside SECURITY DEFINER function?  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
* Peter Eisentraut (peter_e@gmx.net) wrote:
> 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.

It'll match the SQL spec, I'm not sure it does now, that was more of my
point than anything else. :)

    Stephen

Attachment

pgsql-general by date:

Previous
From: Joe Markwardt
Date:
Subject: Re: ERROR: cache lookup failed for relation 438095645
Next
From: Clark Allan
Date:
Subject: ms-sql OUTPUT equivalent