Re: invalid multibyte character for locale - Mailing list pgsql-general

From Frank van Vugt
Subject Re: invalid multibyte character for locale
Date
Msg-id 200503011300.56739.ftm.van.vugt@foxi.nl
Whole thread Raw
In response to Re: invalid multibyte character for locale  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-general
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.

pgsql-general by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Replication suggestions (weak multi-master)
Next
From: Sumit Rohatgi
Date:
Subject: Problem with pg_hba.conf