Re: [PATCH] Re: Setuid functions
От | Peter Eisentraut |
---|---|
Тема | Re: [PATCH] Re: Setuid functions |
Дата | |
Msg-id | Pine.LNX.4.30.0106231732430.724-100000@peter.localdomain обсуждение исходный текст |
Ответ на | [PATCH] Re: Setuid functions (Mark Volpe <volpe.mark@epa.gov>) |
Ответы |
Re: [PATCH] Re: Setuid functions
|
Список | pgsql-hackers |
Mark Volpe writes: > This patch will implement the "ENABLE PRIVILEGE" and "DISABLE PRIVILEGE" > commands in PL/pgSQL, which, respectively, change the effective uid to that > of the function owner and back. May I suggest better names? When I do DISABLE PRIVILEGE, do I no longer have any privilege? Also, in SQL, the term "privilege" refers to select/insert/update/etc. right on some table, so "enable privilege" would be "grant". The term for user identity is "authorization", so I would call these commands SET AUTHORIZATION { INVOKER | DEFINER } ("invoker" and "definer" are part of the SQL CREATE FUNCTION syntax) and the default would be invoker. -- Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter
В списке pgsql-hackers по дате отправления: