arguments are analogous to has_table_privilege.
When specifying a function by a text string rather than by OID,
the allowed input is the same as for the regprocedure> data type.
- The desired access privilege type must currently evaluate to
+ The desired access privilege type must evaluate to
EXECUTE.
+ An example is:
+SELECT has_function_privilege('joeuser', 'myfunc(int, text)', 'execute');
+
has_language_privilege checks whether a user
can access a procedural language in a particular way. The possibilities
for its arguments are analogous to has_table_privilege.
- The desired access privilege type must currently evaluate to
+ The desired access privilege type must evaluate to
USAGE.