BUG #2579: initcap should not capitalize letter after apostrophe

From: "Dan Franklin" <dfranklin(at)fen(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2579: initcap should not capitalize letter after apostrophe
Date: 2006-08-16 21:03:08
Message-ID: 200608162103.k7GL38li071530@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2579
Logged by: Dan Franklin
Email address: dfranklin(at)fen(dot)com
PostgreSQL version: 8.1.4
Operating system: GNU/Linux Fedora Core 5
Description: initcap should not capitalize letter after apostrophe
Details:

The statement
select initcap('John''s Parents');
returns
John'S Parents

The capital "S" after the apostrophe is incorrect. initcap should consider
the apostrophe to be a word-constituent for the purpose of identifying word
boundaries at which to start capitalizing.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alex Zhang 2006-08-17 09:57:58 BUG #2580: Analyze table cause invalid memory alloc error in "start with xx" select statement
Previous Message Anita Lederer 2006-08-16 14:32:50 Re: out of memory