Re: Setuid functions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Setuid functions
Дата
Msg-id Pine.LNX.4.30.0106231748290.724-100000@peter.localdomain
обсуждение исходный текст
Ответ на Setuid functions  (Mark Volpe <volpe.mark@epamail.epa.gov>)
Ответы Re: Setuid functions  (Philip Warner <pjw@rhyme.com.au>)
Список pgsql-hackers
Mark Volpe writes:

> I know this topic was discussed a few months ago, but I'm wondering if any
> decisions have been reached on if, how, and when setuid functions and triggers
> might be implemented. If not, I have an idea to throw at it.

Add a boolean column to pg_proc, when that column is true you select a
special function class handler in fmgr_info(), that function handler will
save and restore the user id and then call the real function.  See
backend/utils/fmgr/fmgr.c for the action.

-- 
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCH] Re: Setuid functions
Следующее
От: btoback@mac.com
Дата:
Сообщение: JDBC adaptor issue