Re: [BUGS] BUG #14478: Right Trim trims too much? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] BUG #14478: Right Trim trims too much?
Date
Msg-id 5701.1482770185@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #14478: Right Trim trims too much?  (Nathanael Terrien <nte@mustinformatique.fr>)
Responses Re: [BUGS] BUG #14478: Right Trim trims too much?
List pgsql-bugs
Nathanael Terrien <nte@mustinformatique.fr> writes:
> Ok, I misunderstood the documentation. The way it works is logical.

Actually, we changed the docs about the *trim functions recently because
somebody else made the same mistake.  The examples, in particular,
weren't chosen in a way that would make it clear that the characters-
to-trim are sets not strings.  You can see the new wording at

https://www.postgresql.org/docs/devel/static/functions-string.html

That will propagate into the released-version pages at the next
minor updates (scheduled for early Feb).

            regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: Nathanael Terrien
Date:
Subject: Re: [BUGS] BUG #14478: Right Trim trims too much?
Next
From: Nathanael Terrien
Date:
Subject: Re: [BUGS] BUG #14478: Right Trim trims too much?