diff --git a/doc/src/sgml/ref/security_label.sgml b/doc/src/sgml/ref/security_label.sgml
index 40ce3317b91..8a01b940de8 100644
--- a/doc/src/sgml/ref/security_label.sgml
+++ b/doc/src/sgml/ref/security_label.sgml
@@ -82,7 +82,7 @@ SECURITY LABEL [ FOR provider ] ON
function_name
- The name of the object to be commented. Names of tables,
+ The name of the object to be labeled. Names of tables,
aggregates, domains, foreign tables, functions, sequences, types, and
views can be schema-qualified.
@@ -120,8 +120,8 @@ SECURITY LABEL [ FOR provider ] ON
The mode of a function argument: IN>, OUT>,
INOUT>, or VARIADIC>.
If omitted, the default is IN>.
- Note that COMMENT ON FUNCTION does not actually pay
- any attention to OUT> arguments, since only the input
+ Note that SECURITY LABEL ON FUNCTION does not actually
+ pay any attention to OUT> arguments, since only the input
arguments are needed to determine the function's identity.
So it is sufficient to list the IN>, INOUT>,
and VARIADIC> arguments.
@@ -135,8 +135,8 @@ SECURITY LABEL [ FOR provider ] ON
The name of a function argument.
- Note that COMMENT ON FUNCTION does not actually pay
- any attention to argument names, since only the argument data
+ Note that SECURITY LABEL ON FUNCTION does not actually
+ pay any attention to argument names, since only the argument data
types are needed to determine the function's identity.