From: Dennis Bjorklund Date: Thu, 4 Mar 2004 20:09:29 +0000 (+0000) Subject: The trim function doc did not say that the second argument could be X-Git-Tag: REL8_0_0BETA1~1075 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b1f7cccd72047be738f97d2ed3d00ae93743c74;p=postgresql The trim function doc did not say that the second argument could be be omitted. This patch fixes that. It also fixes a bug where the type text was not wrapped as text. --- 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')