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