Re: Document that char () ignores spaces only in non-patterncomparisons

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: bruce(at)momjian(dot)us, pgsql-docs(at)postgresql(dot)org
Subject: Re: Document that char () ignores spaces only in non-patterncomparisons
Date: 2011-03-08 17:51:41
Message-ID: 22830.1299606701@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

"Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> writes:
> Bruce Momjian <bruce(at)momjian(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2011-03-08 17:52:59 Re: Document that char () ignores spaces only in non-patterncomparisons
Previous Message Kevin Grittner 2011-03-08 17:13:04 Re: Document that char () ignores spaces only in non-patterncomparisons