Re: Fix doc for initcap

From: Neil Conway <neilc(at)samurai(dot)com>
To: Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Fix doc for initcap
Date: 2004-02-27 04:00:56
Message-ID: 87k729i32f.fsf@mailbox.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Dennis Bjorklund <db(at)zigo(dot)dhs(dot)org> writes:
> Here is a small doc patch that says that initcap lowercases the rest
> of the characters in the string. The current doc suggests that it
> only touches the first character in each word, which is not what the
> function does.

The improved text is still wrong: initcap() no longer uses whitespace
to separate words. I've applied the attached patch to CVS HEAD, which
fixes this properly and makes some other doc cleanups.

Thanks for the patch!

-Neil

Attachment Content-Type Size
initcap_doc_improv-1.patch text/x-patch 17.4 KB

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Dennis Bjorklund 2004-02-27 05:47:15 Re: Fix doc for initcap
Previous Message Dennis Bjorklund 2004-02-26 22:09:59 Fix doc for initcap