Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id CC3FD632984 for ; Thu, 31 Dec 2009 16:03:09 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 81476-04 for ; Thu, 31 Dec 2009 20:02:59 +0000 (UTC) X-Greylist: delayed 00:32:18.1588 by SQLgrey-1.7.6 Received: from silene.metacarta.com (silene.metacarta.com [208.80.142.18]) by mail.postgresql.org (Postfix) with ESMTP id 6123B6326A5 for ; Thu, 31 Dec 2009 16:02:59 -0400 (AST) Received: from localhost (silene.metacarta.com [208.80.142.18]) by silene.metacarta.com (Postfix) with ESMTP id 984D114C8106 for ; Thu, 31 Dec 2009 14:30:39 -0500 (EST) Received: from silene.metacarta.com ([208.80.142.18]) by localhost (silene.metacarta.com [208.80.142.18]) (amavisd-new, port 10024) with ESMTP id 26887-10 for ; Thu, 31 Dec 2009 14:30:39 -0500 (EST) Received: from [208.80.142.152] (elbrus.metacarta.com [208.80.142.152]) by silene.metacarta.com (Postfix) with ESMTP id F0E3B14C80FC for ; Thu, 31 Dec 2009 14:30:38 -0500 (EST) Message-ID: <4B3CFBDE.4060005@ropine.com> Date: Thu, 31 Dec 2009 14:30:38 -0500 From: Seth Gordon User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090707) MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: Re: Proper case function References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at metacarta.com X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200912/98 X-Sequence-Number: 33536 Michael Gould wrote: > Gary, > > Based on what I read it wouldn't handle cases where the result should be > > MacDonald from macdonald. A function that translates “macdonald” to “MacDonald” would also translate “mackintosh” (the raincoat) to “MacKintosh”, unless you write it *really really* cleverly.