BUG #2579: initcap should not capitalize letter after apostrophe

Поиск
Список
Период
Сортировка
От Dan Franklin
Тема BUG #2579: initcap should not capitalize letter after apostrophe
Дата
Msg-id 200608162103.k7GL38li071530@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #2579: initcap should not capitalize letter after apostrophe  (tomas@tuxteam.de)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      2579
Logged by:          Dan Franklin
Email address:      dfranklin@fen.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.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Anita Lederer"
Дата:
Сообщение: Re: out of memory
Следующее
От: "Alex Zhang"
Дата:
Сообщение: BUG #2580: Analyze table cause invalid memory alloc error in "start with xx" select statement