From 0b1f7cccd72047be738f97d2ed3d00ae93743c74 Mon Sep 17 00:00:00 2001 From: Dennis Bjorklund Date: Thu, 4 Mar 2004 20:09:29 +0000 Subject: [PATCH] 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. --- doc/src/sgml/func.sgml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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') -- 2.40.0