diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 007046e61d..66dae9bbdd 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -1,5 +1,5 @@
@@ -1157,11 +1157,13 @@ PostgreSQL documentation
- ltrim(string text, characters text)
+ ltrim(string text
+ , characters text)
+
text
Remove the longest string containing only characters from
- characters from the start of
+ characters (a space by default) from the start of
string.
ltrim('zzzytrim', 'xyz')
@@ -1255,12 +1257,13 @@ PostgreSQL documentation
- rtrim(string
- text, characters text)
+ rtrim(string text
+ , characters text)
+
text
Remove the longest string containing only characters from
- characters from the end of
+ characters (a space by default) from the end of
string.
rtrim('trimxxxx', 'x')