Re: Proper Unicode support

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hannu Krosing <hannu(at)tm(dot)ee>
Cc: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Alexey Mahotkin <alexm(at)hsys(dot)msk(dot)ru>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Proper Unicode support
Date: 2003-08-12 22:57:39
Message-ID: 17696.1060729059@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hannu Krosing <hannu(at)tm(dot)ee> writes:
> A question to the core - are there any plans to rectify this for less
> fortunate languages/charsets?

I'm not planning to fix it personally, if that's what you mean. I agree
somebody should do something about it. Possibly the C99 <wctype.h>
routines can be used (where available) in place of <ctype.h>.

> Will the ASCII-speaking core tolerate the potential loss of performance
> from locale-aware upper/lower ?

Depends how big a loss we're talking about, doesn't it? Still, we
tolerated multibyte-always ... which I'd think would be a bigger hit.
BTW, I'd be at least as concerned about maintaining code readability as
about performance.

> Will this be considered a feature or a bugfix (i.e. should we attempt to
> fix it for 7.4) ?

I think it is probably too large a change to consider for 7.4 at this
point ... especially since it's been broken since day one and no one
has shown any particular urgency about fixing it before.

It's not too soon to start on work for 7.5 though. Keep in mind that
Bruce is still muttering about a short 7.5 cycle, if the Win32 port work
comes through.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gavin Sherry 2003-08-12 23:06:58 Re: Parsing speed (was Re: pgstats_initstats() cost)
Previous Message Gmane Smith 2003-08-12 22:38:55 7.4 LOG: invalid message length