Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: initcap_doc_improv-1.patch
Description: text/x-patch (17.4 KB)

In response to

Responses

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group