Re: Fault with initcap - Mailing list pgsql-sql

From Metin Ulusinan
Subject Re: Fault with initcap
Date
Msg-id CAPi93JTZh9L6EFxa_-Y8-7mY1XrmM2KxobHjvvBwUkbYOM3Gmw@mail.gmail.com
Whole thread Raw
In response to Fault with initcap  (Shaozhong SHI <shishaozhong@gmail.com>)
Responses Re: Fault with initcap
Re: Fault with initcap
List pgsql-sql
I tried both on PostgreSQL 11.13 and yes "Sainsbury's bank" 's "S" is buggy, but notemachine is not.

Will anyone try @ 14?


nsversion
NotemachineSainsbury'S BankPostgreSQL 11.13 (Debian 11.13-0+deb10u1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit


On Tue, Oct 12, 2021 at 7:30 PM Shaozhong SHI <shishaozhong@gmail.com> wrote:
I tried initcap and found a major problem with it.

Initcap of notemachine is NoteMachine.

Initcap of Sainsbury's Bank is Sainsbury'S bank.

This is not expected.

Anyway to get around this problem?

Regards,

David

pgsql-sql by date:

Previous
From: Steve Midgley
Date:
Subject: Re: Removing JSONB key across all elements of nested array
Next
From: Pavel Stehule
Date:
Subject: Re: Fault with initcap