Re: invalid multibyte character for locale

From: Frank van Vugt <ftm(dot)van(dot)vugt(at)foxi(dot)nl>
To: pgsql-general(at)postgresql(dot)org
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Subject: Re: invalid multibyte character for locale
Date: 2005-03-01 12:00:55
Message-ID: 200503011300.56739.ftm.van.vugt@foxi.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-patches

Hi Tatsuo / Tom,

[TI]
> Apparently your hack does not kill #define USE_WIDE_UPPER_LOWER.

Mmm, I think it does, but mind you, the hack was applied to the first machine
only (since that was the one with the 'original' buggy glibc causing a
postmaster crash when using upper() and stuff), while it was the second one
producing the error. This second machine didn't seem to have problems using
upper() in earlier versions, but it looks like it does now.

Using the hack on the second machine obviously solves the problem there as
well, I agree ;)

[TI]
> BTW, the current code for upper/lower etc. seems to be broken.
> PostgreSQL should not use wide-character method if LC_CTYPE is C.

[TL]
> Yeah, we came to that same conclusion a few days ago in another thread.
> I am planning to install the fix <cut>

Great, no rush, it's an easily avoided issue ;)

--
Best,

Frank.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sumit Rohatgi 2005-03-01 13:05:55 Problem with pg_hba.conf
Previous Message Dorian Büttner 2005-03-01 11:16:01 Re: Database Name

Browse pgsql-patches by date

  From Date Subject
Next Message Matthias Schmidt 2005-03-01 17:57:53 Re: Where to see the patch queue (was Re: [PATCHES] Patch for Postmaster
Previous Message Tom Lane 2005-03-01 01:01:22 Re: invalid multibyte character for locale