pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nathanael Terrien <nte@mustinformatique.fr>
Cc: 'Terje Elde' <terje@elde.net>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14478: Right Trim trims too much?
Date: Mon, 26 Dec 2016 11:36:25 -0500
Message-ID: <5701.1482770185@sss.pgh.pa.us> (raw)
In-Reply-To: <af4cb1f0b64d4634b3b5466762fdabdd@EXCH2013.mustinformatique.fr>
References: <20161226093634.10135.18443@wrigleys.postgresql.org>
	<8D6B90F8-6952-4342-93E5-66F7CDE42D66@elde.net>
	<af4cb1f0b64d4634b3b5466762fdabdd@EXCH2013.mustinformatique.fr>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



view thread (5+ messages)  latest in thread

Message-ID: <5701.1482770185@sss.pgh.pa.us>
Permalink:  ../5701.1482770185@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5701.1482770185@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, nte@mustinformatique.fr, terje@elde.net
  Subject: Re: BUG #14478: Right Trim trims too much?
  In-Reply-To: <5701.1482770185@sss.pgh.pa.us>
  References: <20161226093634.10135.18443@wrigleys.postgresql.org> <8D6B90F8-6952-4342-93E5-66F7CDE42D66@elde.net> <af4cb1f0b64d4634b3b5466762fdabdd@EXCH2013.mustinformatique.fr> <5701.1482770185@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox