Re: BUG #2579: initcap should not capitalize letter after apostrophe

Поиск
Список
Период
Сортировка
От tomas@tuxteam.de
Тема Re: BUG #2579: initcap should not capitalize letter after apostrophe
Дата
Msg-id 20060817190837.GA8772@www.trapp.net
обсуждение исходный текст
Ответ на BUG #2579: initcap should not capitalize letter after apostrophe  ("Dan Franklin" <dfranklin@fen.com>)
Ответы Re: BUG #2579: initcap should not capitalize letter
Список pgsql-bugs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Aug 16, 2006 at 09:03:08PM +0000, Dan Franklin wrote:
>
> 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.

Hmm. And what about Flann O'Brien?

Tough thing, this.

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFE5L60Bcgs9XrR2kYRArkQAKCBI9uYSUckPWL6jzB3PFBXNAlwSgCeOoJx
NIBRgQZYqRajtx8HrUnW1Hs=
=GI/E
-----END PGP SIGNATURE-----

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

Предыдущее
От: "Alex Zhang"
Дата:
Сообщение: BUG #2580: Analyze table cause invalid memory alloc error in "start with xx" select statement
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: BUG #2576: tcp_keepalive doesn't work