| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-docs(at)postgresql(dot)org |
| Subject: | Re: Document that char () ignores spaces only in non-patterncomparisons |
| Date: | 2011-03-08 17:54:33 |
| Message-ID: | 201103081754.p28HsX219111@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
Tom Lane wrote:
> "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.
OK, since you liked that idea too, I have applied an updated patch,
attached.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
| Attachment | Content-Type | Size |
|---|---|---|
| /rtmp/bpchar2.diff | text/x-diff | 1.5 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Kevin Grittner | 2011-03-08 17:57:38 | Re: Document that char () ignores spaces only in non-patterncomparisons |
| Previous Message | Bruce Momjian | 2011-03-08 17:52:59 | Re: Document that char () ignores spaces only in non-patterncomparisons |