Re: [sepgsql 3/3] Add db_procedure:execute permission checks

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [sepgsql 3/3] Add db_procedure:execute permission checks
Дата
Msg-id 20130410234950.GW3751@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на [sepgsql 3/3] Add db_procedure:execute permission checks  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Ответы Re: [sepgsql 3/3] Add db_procedure:execute permission checks  (Kohei KaiGai <kaigai@kaigai.gr.jp>)
Список pgsql-hackers
Kohei KaiGai wrote:
> This patch adds sepgsql support for permission checks almost
> equivalent to the existing FUNCTION EXECUTE privilege.

While skimming this patch I noticed that you're using
getObjectDescription() as the "audit_name" of objects.  This may be a
bit unstable, for example consider that it's translated if lc_messages
is set to something other than english.  I would suggest that the object
identity as introduced by commit f8348ea32ec8 is a better choice for
this.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: corrupt pages detected by enabling checksums
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: SIGHUP not received by custom bgworkers if postmaster is notified