Re: User permission

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: User permission
Дата
Msg-id 200404182221.32859.peter_e@gmx.net
обсуждение исходный текст
Ответ на Re: User permission  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:
> I'm not sure there is any clean solution that would make this do what
> you expect, partly because it's not real clear what you expect
> (consider nested SECURITY DEFINER functions, error recovery, etc).
> I'd be inclined to put a band-aid on it by forbidding SET SESSION
> AUTHORIZATION inside functions.

Well, we could also try to just not switch back to the old value when
exiting the function.  I'll have a look to see whether that is doable.


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

Предыдущее
От: Eric Ridge
Дата:
Сообщение: Re: Folding subtotals into query?
Следующее
От: Jerry LeVan
Дата:
Сообщение: Re: Folding subtotals into query?