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

From Nathanael Terrien
Subject Re: [BUGS] BUG #14478: Right Trim trims too much?
Date
Msg-id 3212b45e16da42bab4ae138ad6fb9976@EXCH2013.mustinformatique.fr
Whole thread Raw
In response to Re: [BUGS] BUG #14478: Right Trim trims too much?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The new wording is clearer. Thanks.

-----Message d'origine-----
De : Tom Lane [mailto:tgl@sss.pgh.pa.us]
Envoyé : lundi 26 décembre 2016 17:36
À : Nathanael Terrien <nte@mustinformatique.fr>
Cc : 'Terje Elde' <terje@elde.net>; pgsql-bugs@postgresql.org
Objet : Re: [BUGS] BUG #14478: Right Trim trims too much?

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: Tom Lane
Date:
Subject: Re: [BUGS] BUG #14478: Right Trim trims too much?
Next
From: Michael Paquier
Date:
Subject: [BUGS] pg_receivexlog creating holes in WAL (HEAD only)