Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 44296634166 for ; Thu, 31 Dec 2009 13:40:56 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 94737-05-2 for ; Thu, 31 Dec 2009 17:40:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mail.postgresql.org (Postfix) with ESMTP id 8D9D3633BE8 for ; Thu, 31 Dec 2009 13:40:39 -0400 (AST) Received: by qw-out-2122.google.com with SMTP id 9so2438435qwb.61 for ; Thu, 31 Dec 2009 09:40:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=iLbq65eybX8mmnzwzS/1G45EIZvBsqgF1vZgcWA6OkU=; b=bxUDPLXw82Bwnw5PZCtx+/1c9rF3Yh2D80ArWxolUB1qp6KhxcnHDR6GVUZvINx02y VKHXZUAFSqKYZ0jrVD7yt1r6bq6SobdXaRVkwKiedAPmH9FVivTCW4yDN+seRC4qyABN z2wkEO6hx0KIA6Lft/hVmnfjhXg7YpnIIOpow= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=o60YjL15aAqUX8DgwqoxiZB31PhEMBtzoWhY+HbkiOktvAn5rUpbJzYjIHaM1JeHeR RxBPLXltUtAryHTs8lBBFWgUIoWI2HWf6MZfdZIArtGORpvkFfOtN/mbhkwFQt08JZYT SNaQFiQys2p3j115OI+oLxovuR1g0H+cMKQhE= MIME-Version: 1.0 Received: by 10.229.118.6 with SMTP id t6mr95335qcq.39.1262281235403; Thu, 31 Dec 2009 09:40:35 -0800 (PST) In-Reply-To: References: Date: Thu, 31 Dec 2009 12:40:35 -0500 Message-ID: <302670f20912310940v2307bd0ey368815943615d37e@mail.gmail.com> Subject: Re: Proper case function From: Gary Chambers To: Michael Gould Cc: pgsql-sql@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/94 X-Sequence-Number: 33532 > Has anyone got a proper case function that they are willing to share. =A0= We're > moving from SQL Anywhere to PostgreSQL and decided that much of our data = is > upper case when it really should be proper cased. =A0The columns that we = will > be putting proper case data in are all defined using the contrib module > citext which makes searching very nice. Why doesn't the initcap function work as you require? -- Gary Chambers /* Nothing fancy and nothing Microsoft! */