Re: unicode upper/lower functions

From: "John Hansen" <john(at)geeknet(dot)com(dot)au>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: unicode upper/lower functions
Date: 2005-06-07 01:00:41
Message-ID: 5066E5A966339E42AA04BA10BA706AE50A9338@rodrick.geeknet.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
> John Hansen wrote:
> > ... Except,.. It was never decided if the 'C' locale
> optimisations was
> > going to be removed if/when implementing ICU.
>
> Uh, why would we remove it? Oh, meaning if the locale is C
> we bypass locale lookups? I think we will have to see what
> performance we have with things.

Uhh, not quite: If locale is 'C' the current assumption is 7-bit ASCII
for upper/lower/initcap.
ICU is capable of properky doing upper/lower/initcap except for the
cases described in this (obsolete) patch.

>
> > Tho I think the conclusion was a postgresql.conf parameter to
> > enable/disable the optimisations.
> > Either way, this code is now obsolete.
>
> Thanks.
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
> + If your life is a hard drive, | 13 Roberts Road
> + Christ can be your backup. | Newtown Square,
> Pennsylvania 19073
>
>

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-06-07 01:06:45 Re: [BUGS] [Feed-back] Installing PostgreSQL 8.0.0 on SPARC/Solaris.
Previous Message David Fetter 2005-06-07 00:59:12 Re: [HACKERS] regexp_replace