Re: Document that char () ignores spaces only in non-patterncomparisons - Mailing list pgsql-docs

From Tom Lane
Subject Re: Document that char () ignores spaces only in non-patterncomparisons
Date
Msg-id 22830.1299606701@sss.pgh.pa.us
Whole thread Raw
In response to Re: Document that char () ignores spaces only in non-patterncomparisons  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Document that char () ignores spaces only in non-patterncomparisons  (Bruce Momjian <bruce@momjian.us>)
List pgsql-docs
"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

pgsql-docs by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Document that char () ignores spaces only in non-patterncomparisons
Next
From: Bruce Momjian
Date:
Subject: Re: Document that char () ignores spaces only in non-patterncomparisons