pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: bruce@momjian.us
Cc: pgsql-docs@postgresql.org
Subject: Re: Document that char () ignores spaces only in non-patterncomparisons
Date: Tue, 08 Mar 2011 12:51:41 -0500
Message-ID: <22830.1299606701@sss.pgh.pa.us> (raw)
In-Reply-To: <4D760F40020000250003B610@gw.wicourts.gov>
References: <4D760F24020000250003B60D@gw.wicourts.gov>
	<4D760F40020000250003B610@gw.wicourts.gov>
	<4D760F40020000250003B610@gw.wicourts.gov>

"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> Bruce Momjian <bruce@momjian.us> wrote:
>> A private email I received indicated that our documentation about
>> ignoring trailing spaces in CHAR() comparisons was slightly
>> inaccurate.  I have update our docs to indicate it is only
>> non-pattern comparisons that ignore spaces with CHAR().  Applied
>> doc patch attached.
 
> This language:
 
> | disregarded when non-pattern comparing two values
 
> seems quite awkward.

I didn't like it either.  I suggest reverting that part of the patch.
The added text later on is sufficient.

			regards, tom lane



view thread (6+ messages)  latest in thread

Message-ID: <22830.1299606701@sss.pgh.pa.us>
Permalink:  ../22830.1299606701@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22830.1299606701@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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Kevin.Grittner@wicourts.gov, bruce@momjian.us
  Subject: Re: Document that char () ignores spaces only in non-patterncomparisons
  In-Reply-To: <22830.1299606701@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