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