Re: current_user inside SECURITY DEFINER function?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: current_user inside SECURITY DEFINER function?
Дата
Msg-id 20050706063313.O24892@megazone.bigpanda.com
обсуждение исходный текст
Ответ на current_user inside SECURITY DEFINER function?  (Richard Hayward <richard@tortoise.demon.co.uk>)
Список pgsql-general
On Tue, 5 Jul 2005, Richard Hayward wrote:

> Is there any way to get the name of the current user inside a PL/pgSQL
> function that is defined with security definer?

IIRC, SESSION_USER should give the original user.

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

Предыдущее
От: Patrick.FICHE@AQSACOM.COM
Дата:
Сообщение: Re: template1 problems
Следующее
От: Ben-Nes Yonatan
Дата:
Сообщение: Pl/PgsSQL array