Re: Return value of current_user before calling SECURITY DEFINER function.

From: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Return value of current_user before calling SECURITY DEFINER function.
Date: 2013-12-04 09:05:27
Message-ID: CAAfz9KMa-5F78XPqhNf1wJciak+t1_ZpxPsGo91oocAz51vzVg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

For clarity, is it possible to write a SECURITY DEFINER function which
returns a value of current_user at the moment of call?

2013/12/4 Dmitriy Igrishin <dmitigr(at)gmail(dot)com>

> Hello,
>
> Is there are way to determine a subject?
>
> Thanks.
>
> --
> // Dmitriy.
>
>

--
// Dmitriy.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2013-12-04 09:10:37 Re: Return value of current_user before calling SECURITY DEFINER function.
Previous Message Dmitriy Igrishin 2013-12-04 09:02:16 Return value of current_user before calling SECURITY DEFINER function.