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

Поиск
Список
Период
Сортировка
От Dmitriy Igrishin
Тема Re: Return value of current_user before calling SECURITY DEFINER function.
Дата
Msg-id CAAfz9KM96MvR3G8rPfuy3ZZeY_eW80KVSh4SrwZ772NRyRUTuA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Return value of current_user before calling SECURITY DEFINER function.  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: Return value of current_user before calling SECURITY DEFINER function.
Список pgsql-general



2013/12/4 Pavel Stehule <pavel.stehule@gmail.com>
Hello

pls, try session_user
Not really :-(. The user can perform SET ROLE before calling the SECURITY
DEFINER function and I need to know who is the caller at the time of call.
I need something like a calling_user() function...


--
// Dmitriy.

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Return value of current_user before calling SECURITY DEFINER function.
Следующее
От: Dmitriy Igrishin
Дата:
Сообщение: Re: Return value of current_user before calling SECURITY DEFINER function.