diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 68d0a8a954..ccd430a97f 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -1,5 +1,5 @@
@@ -6881,15 +6881,19 @@ SELECT has_table_privilege('myschema.mytable', 'select');
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.