Re: current_user in seucurity DEFINER functions

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: current_user in seucurity DEFINER functions
Дата
Msg-id AANLkTino-XGdLmVORSKEq14fHy9b___MEso3QbN3Q9EQ@mail.gmail.com
обсуждение исходный текст
Ответ на current_user in seucurity DEFINER functions  (strk <strk@keybit.net>)
Ответы Re: current_user in seucurity DEFINER functions  (strk <strk@keybit.net>)
Список pgsql-general
2010/5/13 strk <strk@keybit.net>:
> In a security definer function current_user yelds the
> name of the function definer rather than invoker.
> Is it possible to fetch the invoker name instead ? How ?
>
> Thanks in advance.

try to use session_user

regards
Pavel Stehule
>


> --strk;
>
>  ()   Free GIS & Flash consultant/developer
>  /\   http://strk.keybit.net/services.html
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general
>

В списке pgsql-general по дате отправления:

Предыдущее
От: Leonardo F
Дата:
Сообщение: Authentication method for web app
Следующее
От: Brian Modra
Дата:
Сообщение: Clustering, parallelised operating system, super-computing