Re: current_user inside SECURITY DEFINER function?

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Richard Hayward <richard(at)tortoise(dot)demon(dot)co(dot)uk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: current_user inside SECURITY DEFINER function?
Date: 2005-07-06 13:37:25
Message-ID: 20050706133725.GC24207@ns.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

* Richard Hayward (richard(at)tortoise(dot)demon(dot)co(dot)uk) wrote:
> Is there any way of getting the user?

You might try session_user. 8.1 will hopefully clean this up some.

Thanks,

Stephen

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sim Zacks 2005-07-06 14:06:11 template1 problems
Previous Message Michael Fuhr 2005-07-06 13:36:12 Re: Seg fault in postgres 7.4.7?